I have an auto-update script to gather some information from other web pages to update information in my database.
And i use fopen() to open the URL.
as far as i know, the return result contains image, which i don't need.
If you call fopen()/fread() on a web page that contains an image, you will _not_ get the image in your result. You will only get the HTML text of the web-page.
For example: $f = fopen( 'http://www.google.com/', 'r' ); $page = fread( $f, 2048 ); fclose( $f );
// $page will _not_ contain the Google image logo, but rather just the text of the HTML page.
--Dave
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php