Advertisement
Guest User

Untitled

a guest
Jul 25th, 2014
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.35 KB | None | 0 0
  1. $tableau = array();
  2. $retour_geoipview = file_get_contents('http://fr.geoipview.com/?q=86.221.125.90&x=0&y=0');
  3. $resultat = preg_match_all("#Code du Pays(.*)TABLE#", $retour_geoipview, $tableau, PREG_OFFSET_CAPTURE);
  4. echo strlen($retour_geoipview).'<br />';
  5. echo 'Retour de la fonction : '.$resultat;
  6. echo '<pre>';
  7. print_r($tableau);
  8. echo '</pre>';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement