php-general | 2001032
Date: 03/21/01
- Next message: Christian Dechery: "Re: [PHP] include virtual, file or exec cgi?"
- Previous message: Phillip Bow: "Re: [PHP] Daemon with a PHP file"
- In reply to: Steve Haemelinck: "[PHP] register_globals & PHP_SELF"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Steve Haemelinck wrote:
> Does the PHP_SELF variable only work if you have your
> register_globals on?
Probably.
> Is their an another for still using it ?
$putitinhere = getenv("PHP_SELF");
might work.
Or, if track_vars is ON (default since PHP 4.03 I think), you might
find it in $HTTP_SERVER_VARS["PHP_SELF"].
These are just guesses, though.
regards
Wagner
-- Assumption is the mother of all fuck-ups.-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Christian Dechery: "Re: [PHP] include virtual, file or exec cgi?"
- Previous message: Phillip Bow: "Re: [PHP] Daemon with a PHP file"
- In reply to: Steve Haemelinck: "[PHP] register_globals & PHP_SELF"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

