mude aqui: VALUES ('',ta dando erro.
Erro (3): Out of range value adjusted for column 'ID' at row 1$insere = mysql_query("INSERT INTO $tabela (id,ip,data) VALUES ('','$ip','$data')") or die("Erro (3): ".mysql_error());para:VALUES (NULL,$insere = mysql_query("INSERT INTO $tabela (id,ip,data) VALUES (NULL,'$ip','$data')") or die("Erro (3): ".mysql_error());aqui tava dando esse erro, alterei e funcionou.
flwss..
interessante
http://www.xermad.com.br/