Page 1 of 1

Undefined elements in api/country.html

PostPosted: Sun Oct 23, 2005 1:04 pm
by dforsi
I'm running PHP with error_reporting = E_ALL and I get
Code: Select all
Notice:  Undefined index:  ip in /var/www/htdocs/hostip/api/country.html on line 17
Notice:  Use of undefined constant REMOTE_ADDR - assumed 'REMOTE_ADDR' in /var/www/htdocs/hostip/api/country.html on line 19
Notice:  Undefined variable:  lastmod in /var/www/htdocs/hostip/api/country.html on line 28
XX

the first two are easy to correct, but what about $lastmod?