using fopen() to download remote files
| From: | Rusty Small | Date: | Thu, 03 Oct 2002 07:00:56 +0000 |
| Subject: | using fopen() to download remote files | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-118695@lists.php.net to get a copy of this message | ||
I have written a script in which the main purpose is to download html pages
from multiple web servers. I'm using the fopen() function to download these
pages. I would like to be able to download only the source (text) and no
binary data as this would greatly improve the speed of my script.
I've seen this on the client side with browsers being set to text only mode.
Is there a way to do this with php on the sever side to tell the remote web
server to not download the images associated a particular URL? I'm running
Red Hat 7.3 and Apache web server.
Any help would be greatly appreciated.
Cliff