Is using $_Server['PHP_Self'] Dangerous As An Action?

  • (3 Pages)
  • +
  • 1
  • 2
  • 3

30 Replies - 4820 Views - Last Post: 17 September 2012 - 04:35 AM Rate Topic: -----

#31 Atli  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 3719
  • View blog
  • Posts: 5,994
  • Joined: 08-June 10

Re: Is using $_Server['PHP_Self'] Dangerous As An Action?

Posted 17 September 2012 - 04:35 AM

You can do that instead if you like. That NBBC parser looks like it should work fine, although I've never used it myself. An advantage of using such libraries is that most of them will allow a more complicated structure of BBCode tags. Using regular expressions, it's harder to properly parse things like nested or misaligned tags.
Was This Post Helpful? 1
  • +
  • -

  • (3 Pages)
  • +
  • 1
  • 2
  • 3