trying to parse a URL and write html code to a file, then search the file
for a string between <TITLE> ... </TITLE>  how would I implement the fread
function below, and regular expressions to read the specific conent.  thx

or is there a php function that can return the TITLE of a URL?

<?php
$string = implode("", file($url));
$fp = fopen("temp.txt", "w");
fwrite($fp, $string);
fclose($fp);
?>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to