RE: What makes _SERVER stop working

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

 



Maybe the $_SERVER variable has been disable in the server, if is it, you will just need enable the $_SERVER again


Yuri Yarlei.
Programmer PHP, CSS, Java, PostregreSQL;
Today PHP, tomorrow Java, after the world.
Kyou wa PHP, ashita wa Java, sono ato sekai desu.


 
> From: tmiller@xxxxxxxxxxxxxxxxxxxx
> To: php-general@xxxxxxxxxxxxx
> Date: Mon, 3 Aug 2009 10:26:35 -0700
> Subject:  What makes _SERVER stop working
> 
> All of a sudden this stopped working and keeps defaulting to A again
> 
> if ($_SERVER['SCRIPT_FILENAME'] = "browse.php" ) {
> 
> $default = "A";
> 
> }
> 
> 
> else {
> 
> $default = ""; 
> 
> }
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

_________________________________________________________________
Descubra todas as novidades do novo Internet Explorer 8
http://brasil.microsoft.com.br/IE8/mergulhe/?utm_source=MSN%3BHotmail&utm_medium=Tagline&utm_campaign=IE8

[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