Re: What makes _SERVER stop working

From: Date: Mon, 03 Aug 2009 18:40:45 +0000
Subject: Re: What makes _SERVER stop working
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-296229@lists.php.net to get a copy of this message
On Mon, 03 Aug 2009 20:26:35 +0300, "Miller, Terion" <tmiller@springfi.gannett.com> wrote:
All of a sudden this stopped working and keeps defaulting to A again
     if ($_SERVER['SCRIPT_FILENAME'] = "browse.php" ) {
$default = "A"; } else { $default = ""; } it should be:
if ($_SERVER['SCRIPT_FILENAME'] == "browse.php" ) { ... -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

« previous php.general (#296229) next »