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

curl-and-php

Download pages partially??

From: erazer <erazer.se_at_telia.com>
Date: Mon, 26 Jan 2004 19:52:12 +0100

Hi.. I wonder it's possible to parts of pages?. Lets say that I only want information located in first the 1024 bytes, and rest of the 400kb of the page are just junk? This will save me a lot of bandwitdh :)
I found some information on this page http://www.zend.com/manual/function.curl-setopt.php
I tried this function, which looked like the thing that I needed:
curl_setopt($ch, CURLOPT_RANGE, 0-1023);
But too bad, I only found one page working with that: http://curl.haxx.se/ I tried with alot of other pages but noone works, just haxx.se. Why?
Maybe there is another way to do it?

Thanks for all help and suggestions..
// Anders

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
Received on 2004-01-28