![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
14/07/2011, 08:12
|
![Avatar de repara2](http://static.forosdelweb.com/customavatars/avatar369161_2.gif) | | | Fecha de Ingreso: septiembre-2010 Ubicación: München
Mensajes: 2.445
Antigüedad: 14 años, 4 meses Puntos: 331 | |
Respuesta: Conectar a url con php Mira el manual, hay un ejemplo exactamente igual a lo que tu pides:
Código PHP:
Ver original<?php if (!$fp) { echo "No se puede abrir\n"; } else { fwrite($fp, "GET / HTTP/1.0\r\n\r\n"); if ($info['timed_out']) { echo '¡La conexión agotó el tiempo de espera!'; } else { echo $res; } } ?>
__________________ Fere libenter homines, id quod volunt, credunt. |