Re: What makes _SERVER stop working

From: Date: Tue, 04 Aug 2009 00:44:46 +0000
Subject: Re: What makes _SERVER stop working
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-296247@lists.php.net to get a copy of this message
Miller, Terion 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 stopped working or never worked because your if statement is wrong == -- Thanks! -Shawn http://www.spidean.com

« previous php.general (#296247) next »