cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

RE: Get just part of a page

From: Broekhuis,Robert R. <BROEKHRR_at_airproducts.com>
Date: Tue, 17 Jan 2006 14:00:59 -0500

Thanks - I somehow missed that (wasn't expecting it to be a string
parameter). It works some of the time, which is better than not at all
:-)
Rob

-----Original Message-----
From: curl-and-php-bounces_at_cool.haxx.se
[mailto:curl-and-php-bounces_at_cool.haxx.se] On Behalf Of Daniel Stenberg
Sent: Tuesday, January 17, 2006 12:40 PM
To: curl with PHP
Subject: Re: Get just part of a page

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-php
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2006-01-17