On Mon, Oct 20, 2003 at 01:23:29PM +0200, Boris Sagadin wrote:
: 
: I'm having problems with $PHP_SELF variable. Mostly it works, other
: times (about 10% of tries) it's just empty. Is this a known issue with
: Apache 2? If I use $_SERVER['PHP_SELF'], it always works fine, but
: still I'd like to know if this is a common bug or there's something
: wrong with my configuration.
: 
: I'm using PHP 4.3.3 with Apache 2.0.43, Linux 2.4.21-grsec,
: register_globals is on

It is a common bug with your configuration.  Turn off register_globals,
and always use the superglobals ($_SERVER, $_POST, $_GET, etc.).

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to