Re: weird error
| From: | John W. Holmes | Date: | Thu, 03 Jun 2004 15:21:16 +0000 |
| Subject: | Re: weird error | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-187542@lists.php.net to get a copy of this message | ||
From: "pagongski" <dante@mail.telepac.pt>
> Notice: Use of undefined constant REMOTE_ADDR - assumed
> 'REMOTE_ADDR' in c:\win2kapp\easyphp1-7\www\index.php on line 35
>
> Notice: Undefined variable: HTTP_REFERER in .....
>
> I have register globals on. (was off so i turned them on thinking
> that might be the problem..didnt work either way)
The second error shows you did not turn on register globals. Look at a
phpinfo() page to confirm you edited the right php.ini. You must restart
your webserver after the change, also.
---John Holmes...