Posted by Alan Little on 05/10/06 15:29
I love the __FILE__ constant; it's been enormously useful. Is there a
constant that would be the equivalent of $PHP_SELF? That's also a useful
value, but according to the docs, "...may or may not [exist] in $_SERVER."
In a distributed app, may or may not doesn't fly. I'm surprised, if there
isn't a reliable way to retrieve this value.
--
Alan Little
Phorm PHP Form Processor
http://www.phorm.com/
[Back to original message]
|