Ver Mensaje Individual
  #8 (permalink)  
Antiguo 15/09/2004, 17:41
orlandob
 
Fecha de Ingreso: febrero-2004
Mensajes: 65
Antigüedad: 20 años, 3 meses
Puntos: 0
Ahora lo pude probar ;)

Código PHP:

<?php
$returned
=URLopen("http://espanol.wunderground.com/global/stations/84773.html");
echo 
$returned;

function 
URLopen($url)
{
       
// Fake the browser type
       
ini_set('user_agent','Mozilla: (compatible; Windows XP)');

       
$dh fopen($url,'r');
       
$result '';
       
$sParte '';
       while (
$sParte fread($dh,8192))
               
$result $result.$sParte;
       return 
$result;
}
?>
Saludos
__________________
Orlando F. Brea
SmartSol - Soluciones Inteligentes


Diseño y Desarrollo de Soluciones Web