RE: [PHP] What makes _SERVER stop working
| From: | Yuri Yarlei | Date: | Mon, 03 Aug 2009 17:40:18 +0000 |
| Subject: | RE: [PHP] What makes _SERVER stop working | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-296222@lists.php.net to get a copy of this message | ||
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@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" ) {
>
> $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