Originariamente inviato da spoon25
per esser corretti è $_SERVER['REMOTE_ADDR']