|
Posted by b00x on 07/13/06 03:29
Try using $_SERVER['REMOTE_ADDR'] rather than the global. Not sure if
this will help, but it could, and its good practise anyway ;)
Also, you could try using sprintf() to return your string. eg.
$content .= sprintf("REMOTE ADDR:
http://ws.arin.net/cgi-bin/whois.pl?queryinput=%s\n",
$_SERVER['REMOTE_ADDR']);
Another check could be to make sure PHP isn't doing something crazy
with your REMOTE_ADDR variable, and just echo that to make sure its
contents are accurate, and don't contain anything weird ;)
Hope this helps.
Regards,
Corey...
Navigation:
[Reply to this message]
|