Better if you use $_SERVER['REMOTE_ADDR'] and so on...
pagongski wrote:
Hi guys,
I recently installed easy-php on my laptop so i could work on the go without having to upload my scripts to the server to test them out. The problem is that when i tried one of my scripts on it, i get some weird errors, and the script works fine on the online server.
Here are some example errors:
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)
Big thanks.
-- Miguel J. Jim�nez ISOTROL, S.A. (�rea de Internet) Avda. Innovaci�n n�1, 3� - 41020 Sevilla (ESPA�A) mjjimenez AT isotrol DOT com --- http://www.isotrol.com ICQ# 12670750 TLFNO. 955036800 ext. 111
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

