Capturing dynamic data and storing it into a variable

From: Date: Mon, 06 May 2002 00:34:19 +0000
Subject: Capturing dynamic data and storing it into a variable
Groups: php.general 
Request: Send a blank email to php-general+get-96257@lists.php.net to get a copy of this message
I have stored the contents of a web page using: $src = implode("", file($url)); In the source contains: <title>Random title here</title> What method can I use to store the title of the page into a variable? Keep in mind that the above string is part of an entire html document.

« previous php.general (#96257) next »