$_SERVER[Remote_Addr] means???
Posted: Wed May 10, 2006 11:43 pm
This is a statement from a php counter .
----------------------------------------------------
-------------------------------------------------------------
This is the error message and I don't know what it means
Any help will be appreciated
JIm
----------------------------------------------------
Code: Select all
$check_sql = sprintf("SELECT time + 0 FROM %s WHERE visit_date = CURDATE() AND ip_adr = '%s' ORDER BY time DESC LIMIT 0, 1", $this->table_name, $_SERVER['REMOTE_ADDR']);This is the error message and I don't know what it means
Code: Select all
================================================
<b>Notice</b>: Undefined index: REMOTE_ADDR in <b>C:\mysites\sitey\counter\count_visitors_class.php</b> on line <b>51</b><br />
==================================================JIm