Re: What makes _SERVER stop working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux