Is there any way to retrieve data (for example - the text *within* a table) from another URL so that only the text appears and not the html (tables, cells, colors, etc.)
Below is a script which opens and reads a URL and then outputs the complete URL. I am just looking for the text output. Thank you in advance. Tony Ritter ....................................................................... <html> <head> <title>Retrieving text from a URL</title> </head> <body> <? $theurl="http://www.blah.com"; if (!($fp=fopen($theurl, "r"))) { echo "Could not open the URL"; exit; } $contents= fread($fp, 1000000); fclose($fp); echo "$contents"; echo "<br>"."This information retrieved from<br>"."<a href=\"$theurl\">$theurl</a><br>"."on ".(date("l jS F Y g:i a T")); ?> </body> </html> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php