Ver Mensaje Individual
  #5 (permalink)  
Antiguo 17/06/2008, 23:01
Suyta
(Desactivado)
 
Fecha de Ingreso: septiembre-2004
Mensajes: 360
Antigüedad: 19 años, 7 meses
Puntos: 1
Respuesta: fopen() y expresiones regulares

Gracias pateketrueke pero no me pidas 'estilo' a duras penas me doy maña...

Ahora sí corre bien con esto

Código PHP:

$name
="http://www.gwinnettdailypost.net/GDP-Legals/LegalAds/950.html";

$data file_get_contents("http://www.gwinnettdailypost.net/GDP-Legals/LegalAds/950.html");

preg_match('/Security Deed given by /'$data$m);

//preg_match("/<div id=\"precio\">(.*?)<\/div>/", $data, $m);
echo $m[1]; 
pero no devuelve el texto y sé que está ahí...
está bien la sintaxis ?
Mil gracias otra vez.