Can anyone tell me how I can log a user's IP address please?
Mark
$log_data = $_SERVER['REMOTE_ADDR']."\r\n"; $fp=fopen("ip_addrs.txt","a"); fwrite($fp,$log_data); fclose($fp);
Excellent thanks alot