curl-and-php
Re: Get just part of a page
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 17 Jan 2006 18:40:27 +0100 (CET)
Date: Tue, 17 Jan 2006 18:40:27 +0100 (CET)
On Tue, 17 Jan 2006, Broekhuis,Robert R. wrote:
> Is there a way to fetch a page up to a set maximum number of bytes? I'm
> having memory problems due to some insanely long web pages. Any part of a
> page after, say, about 50k really doesn't matter in my application.
CURLOPT_RANGE perhaps?
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.html _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-phpReceived on 2006-01-17