[!NEWBIE ALERT!] fread() question

From: Date: Sun, 23 Feb 2003 23:05:42 +0000
Subject: [!NEWBIE ALERT!] fread() question
Groups: php.general 
Request: Send a blank email to php-general+get-136777@lists.php.net to get a copy of this message
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); ?>

« previous php.general (#136777) next »