Ver Mensaje Individual
  #2 (permalink)  
Antiguo 01/04/2010, 05:28
Avatar de AnesGy
AnesGy
 
Fecha de Ingreso: mayo-2009
Mensajes: 518
Antigüedad: 14 años, 10 meses
Puntos: 19
Respuesta: Como leer un linea exacta de un codigo fuente externo

Código PHP:
Ver original
  1. <?php
  2. // create a new cURL resource
  3. $ch = curl_init();
  4.  
  5. // set URL and other appropriate options
  6. curl_setopt($ch, CURLOPT_URL, "http://www.example.com/");
  7. curl_setopt($ch, CURLOPT_HEADER, 0);
  8.  
  9. // grab URL and pass it to the browser
  10. curl_exec($ch);
  11.  
  12. // close cURL resource, and free up system resources
  13. ?>

Creo que con esto lees el código fuente (HTML) y luego puedes leer las líneas y coger lo que te interese.
__________________
Si alguna vez parece que soy grosero, pido perdón, es un intento fallido de ser directo.

AnesGy SD. Name it, Get it