per l'indirizzo ip metti nel form un campo nascosto

<input type=hidden name=IP value=$_SERVER["REMOTE_ADDR"]>


..IcE..