Is it possible to extract text from a webpage with php? Like say i want to extract news headlines from a webpage if i know where it is, or temperature from a weather site.
@NogDogJan 23.2007 — #Yes, it is possible. You could use file_get_contents() to grab the page as a string, then parse it with preg_match_all(), or perhaps use the [url=http://us2.php.net/manual/en/ref.domxml.php]DOM XML functions[/url] if running PHP5 and the target file is valid XHTML.