Ver Mensaje Individual
  #3 (permalink)  
Antiguo 22/08/2012, 08:01
PepeF
 
Fecha de Ingreso: julio-2012
Mensajes: 276
Antigüedad: 11 años, 8 meses
Puntos: 27
Respuesta: Obterner un dato unico

Código PHP:
Ver original
  1. <?php
  2. $meta = unserialize(file_get_contents('http://www.geoplugin.net/php.gp?ip=$_SERVER[REMOTE_ADDR]'));
  3.  
  4. echo $meta['geoplugin_latitude'];
  5. echo "<br>";
  6. echo $meta['geoplugin_longitude'];
  7. ?>
INSERTAR esos datos y si existen esas misma latitud y la misma longitud te dice tu ya te as registrado