Problem with PHP functions under Win2K3
| From: | Ken | Date: | Thu, 07 Apr 2005 10:15:18 +0000 |
| Subject: | Problem with PHP functions under Win2K3 | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-25812@lists.php.net to get a copy of this message | ||
On Apr 7, 2005 12:11 PM, Juhász Zoltán <php@jzo.hu> wrote:
>
> Hi!
>
> I installed PHP 4 on Windows 2003 Enterprise to test it. Some functions
> cannot work, example $REMOTE_ADDR, $HTTP_ACCEPT_LANGUAGE, etc.
> All functions get back an error:
>
> Notice: Undefined variable: HTTP_ACCEPT_LANGUAGE in
> C:\Inetpub\wwwroot\terrachat_hu\detectlang.php on line 16
>
> I have not found information about this symptom. I don't know how can
> solve it. I think this functions posted by the browser.
> Why can not get this informations the PHP?
>
> I installed the PHP 5 and the problem has not solved yet.
>
> Have you got any idea?
>
> JZO
>
you mean $_SERVER['REMOTE_ADDR']?
check the predefined variables bit in the manual
http://se2.php.net/reserved.variables