PHP Notice: Undefined index: SERVER_ADDR
-
Hi Jeff!
In lib/HoneypotToolkit.class.php on line 861
$_SERVER['SERVER_ADDR']is not necessarily set. I suggest to use this if condition instead:if ($ipAddress != '' && isset($_SERVER['SERVER_ADDR']) && $ipAddress == $_SERVER['SERVER_ADDR']) {.Best,
Marian
The topic ‘PHP Notice: Undefined index: SERVER_ADDR’ is closed to new replies.