 
			
				06/04/2015, 13:28
			
			
			     |  
      |    |    |    Fecha de Ingreso: abril-2003  
						Mensajes: 260
					  Antigüedad: 22 años, 6 meses Puntos: 1     |        |  
  |      Respuesta: Get API ubicacion servidor        Ahi lo hice con un curl, gracias!   
function get_data($url) { 
	$ch = curl_init(); 
	$timeout = 5; 
	curl_setopt($ch, CURLOPT_URL, $url); 
	curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 
	curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout); 
	$data = curl_exec($ch); 
	curl_close($ch); 
	return $data; 
}   
	$returned_content = get_data('http://http://www.ddd.com.ar/api/cliente42322/reservations?access_token=xxxxxxxxxxxxxx&since=201  5-04-05T15:05:05Z');     
				__________________  Bye!           |