14 Jan
2007
14 Jan
'07
20:12
James Hatridge skrev:
Hi all..
My new host will not allow this php command to work:
$cur_ip = $REMOTE_ADDR;
Any ideas how I can program around this?
Thanks,
JIM
Hiya. Try the "new" way.. $cur_ip = $_SERVER['REMOTE_ADDR']; See http://www.php.net/manual/en/reserved.variables.php#reserved.variables.serve... -- Anders Norrbring Norrbring Consulting