Location: PHPKode > scripts > php.SimpleGeo > bartsitek-php.SimpleGeo-2573e8f/example.php
<?php

require_once('SimpleGeo.class.php');
$SimpleGeo = new SimpleGeo();



echo '<pre>'; print_r($SimpleGeo->getAll()); '</pre>';

echo '<br/>Flag: ' . $SimpleGeo->getFlag('gif'); //gif or png

echo '<br/>Country Name: ' . $SimpleGeo->getCountry();

echo '<br/>ISO Code: ' . $SimpleGeo->getCode();


?>
Return current item: php.SimpleGeo