Posted by John Dunlop on 05/10/06 23:37
Tim Van Wassenhove:
> Why would you want the value? I still have to see my first good reason
> to use it ;) (In case you want to redirect a user to the same place
> where he came from after a form submit, using '#' as value for the
> action is as good and it doesn't has the potential security issues as
> $_SERVER['PHP_SELF'] has...)
I remember a similar discussion a while ago, and I went away thinking
there was something wrong with my PHP. I still don't know what
PHP_SELF is meant to be.
I see two relevant bug reports:
http://bugs.php.net/bug.php?id=13606 - says there was a documentation
problem, but the problem seems to persist
http://bugs.php.net/bug.php?id=18330 - I don't know what to make of
that dismissal
--
Jock
Navigation:
[Reply to this message]
|