Originally Posted by redhead
presuming you have PHP supported, heres something that should store the IP address...
// get the IP
$ip = $_SERVER["REMOTE_ADDR"];
$ip .= "\n" . implode('', file('ips.dat'));
// write into the IPs file
$fq = fopen("ips.dat","w");
hope that helps you abit...
How do I get this to add the IPs one per line?
right now it will just add them on one line.