On Thursday, January 31, 2002, at 06:12  PM, Lars Torben Wilson wrote:

> On Thu, 2002-01-31 at 14:57, Erik Price wrote:

>>  I'm running PHP 4.1.0 on LAMP w/register_globals=off
>                                   ^^^^^^^^^^^^^^^^^^^^
>
> Since register_globals is off, the $_SERVER array will not be extracted
> into the global scope. Try $_SERVER['PHP_SELF'] and you should be fine.


AHHH...  I didn't know that the predefined variables belonged to an 
array like that.  So far I haven't used anything but $_GET, $_POST, and 
$_SESSION.  Guess I should study some more.

Thanks Lars

Erik



----

Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to