On 8/3/09 12:26 PM, "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 = "";
}
I was using the above successfully until the boss rewrote the script now
mil...@springfi.gannett.com
> To: php-general@lists.php.net
> Date: Mon, 3 Aug 2009 10:26:35 -0700
> Subject: [PHP] What makes _SERVER stop working
>
> All of a sudden this stopped working and keeps defaulting to A again
>
> if ($_SERVER['SCRIPT_FILENAME'] = "browse.php"
All of a sudden this stopped working and keeps defaulting to A again
if ($_SERVER['SCRIPT_FILENAME'] = "browse.php" ) {
$default = "A";
}
else {
$default = "";
}
3 matches
Mail list logo