A question about PHP_SELF
Helo All,
In doing some research, I came across a post on a forum where a person was having trouble with their form on a page. In their code they were using $_SERVER['PHP_SELF'] in the code and the person responding had this to say:
"Please don't use PHP_SELF, it is vulnerable to exploitation. If you want the action to be the same page, just leave it empty."
Is it true that this is vulnerable to exploitation? If so, what is a suitable and secure method/command/function/etc to replace PHP_SELF?
Just curious, many thanks in advance for your input.
Cheers,
wordman
