Lennard schreef:Ooh! thxSELECT .. FROM ips WHERE ip LIKE 66.%Eerdere citaten tonen
Jvdw schreef:Weet je ook hoe je controleerd welke IPs met bv 66. beginnen? LIKE doet het niet
zo?
toevoeging op 5 november 2012, 23:29:45:
weet er trouwens iemand of hostip altijd de waarheid zegt?
Daarmee bedoel ik als ik deze code gebruik:
[COLOR= #0000BB]<?php
$country[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/file_get_contents"]file_get_contents[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]http://api.hostip.info/country.php?ip=[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_SERVER[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]REMOTE_ADDR[/COLOR][COLOR= #007700]];[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$country[/COLOR][COLOR= #007700];[/COLOR]
?> zou het dan 100% juist zijn? bij elk IP adres?

kijk is naar je eigen adres 

