curl-and-php
Output controlling/download limit
From: xinn <xinn05_at_gmail.com>
Date: Thu, 4 May 2006 17:06:24 +0200
Date: Thu, 4 May 2006 17:06:24 +0200
Hello,
Is this possible to download for example the first 1024 bytes of the
file? With fopen it would look like:
$a = fopen ( 'http://example', 'r' );
print fgets ( $a, 1024 );
fclose ( $a );
How can i do the same using cUrl?
-- L. _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-phpReceived on 2006-05-04