/ Published in: PHP
This piece of code is at least ten years old and I don't remember exactly, where I have found it. Probably it had been stolen from my friend VeZyR;)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$ip=NULL; $host = ''; else { if($ip_tab[0]=="192" && $ip_tab[1]=="168") $ip = $_SERVER["REMOTE_ADDR"]; } else $ip = false;