Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Need an alternative to GeoIP

Name: Anonymous 2011-04-08 2:08

I need an alternative way of grabbing country codes. Here's a script that uses geoip, see the func (geoip_record_by_name). I need an alternative to that func, an alternative way of grabbing countrycodes.

$ip = $_SERVER['REMOTE_ADDR'];
$record = geoip_record_by_name($ip);
$countryid = $record['country_code'];
$countryname = $record["country_name"];
$countryallowed = array("AL", "AM", "AR", "AT", "AU", "AX", "BA", "BD", "BE", "BG", "BO", "BR", "BY", "CA", "CH", "CL", "CN", "CO", "CZ", "DE", "DJ", "DK", "DO", "DZ", "EC", "EE", "EG", "ES", "FI", "FR", "GB", "GE", "GF", "GL", "GR", "GY", "HK", "HR", "HU", "ID", "IE", "IL", "IN", "IR", "IS", "IT", "JO", "JP", "KH", "KP", "KR", "KZ", "LB", "LT", "LU", "LV", "LY", "MA", "MD", "ME", "MK", "ML", "MN", "MW", "MX", "MY", "NL", "NO", "NR", "NZ", "PE", "PH", "PL", "PR", "PT", "PW", "PY", "RE", "RO", "RS", "RU", "SE", "SG", "SI", "SK", "SR", "TH", "TR", "TW", "UA", "US", "UY", "UZ", "VE", "VN", "YE", "ZA");

Name: Anonymous 2011-04-08 2:20

mailto:noko
lab2.java

Name: Anonymous 2011-04-08 2:20

WELL, I GUESS YOU COULD USE MY ANUS

Name: Anonymous 2011-04-08 2:20

Name: Anonymous 2011-04-08 2:21

why do you allow nigger countries

Name: Anonymous 2011-04-08 2:25

Nigger countries will be removed later.

Name: Anonymous 2011-04-08 2:30

>>4
lacks alert("Your country is not allowed on this website");window.close()

Name: Anonymous 2011-04-08 3:14

>>2
labia2.java

Name: Anonymous 2011-04-08 18:50

Wait, why do you need an alternative way? What the fuck is wrong with you?

Don't change these.
Name: Email:
Entire Thread Thread List