Re: using fopen() to download remote files

From: Date: Thu, 03 Oct 2002 10:13:29 +0000
Subject: Re: using fopen() to download remote files
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-118723@lists.php.net to get a copy of this message
On Thursday 03 October 2002 15:00, Rusty Small wrote: > 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. That is what fopen() does anyway ... > 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? ... in other words there's nothing that you need do to get this behaviour. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* Iron Law of Distribution: Them that has, gets. */

« previous php.general (#118723) next »