Re: Problem with PHP_SELF

From: Date: Mon, 03 Sep 2001 20:13:21 +0000
Subject: Re: Problem with PHP_SELF
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-65791@lists.php.net to get a copy of this message
In article <5pv7ptk783alimfd98h5nt4codv2u2bqii@4ax.com>, david.otton@overnetdata.com (David Otton) wrote: > I get a error - "Warning: Undefined variable: PATH_INFO in > [scriptname] on line 13" > > Is there any situation where such variables would be available to > phpinfo(), but not the rest of the script? Yes, where $PATH_INFO is called from within a function without being declared as global first. See the manual's chapter on variable scope. -- CC

« previous php.general (#65791) next »