Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001032

Re: [PHP] register_globals & PHP_SELF From: Alexander Wagner (wagner <email protected>)
Date: 03/21/01

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>