Hi I\'ve got these lines here, I am trying to extract the first paragraph found in the file, but this fails to return any results, if not it returns results that are not eve
Try this:
$html = file_get_contents("http://localhost/foo.php"); preg_match('/(.*)<\/p>/', $html, $match); echo($match[1]);
(.*)<\/p>/', $html, $match); echo($match[1]);