Undefined elements in api/country.html

Development discussion about the hostip.info codebase, libraries, and database

Moderator: Moderators

Undefined elements in api/country.html

Postby dforsi on Sun Oct 23, 2005 1:04 pm

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?
dforsi
Expert
 

Return to Hostip.info code/database devel

Who is online

Users browsing this forum: No registered users and 0 guests

cron