curl-and-php
Stop cURL transfer in PHP
From: Waruna Geekiyanage <waruna_at_nirmani.com>
Date: Tue, 20 Jul 2004 11:12:44 +0600
Date: Tue, 20 Jul 2004 11:12:44 +0600
Is there any way to stop the transfer without getting the whole output.
I tried
curl_setopt($ch, CURLOPT_NOBODY,1);
gives
Content : HTTP/1.1 500 ITS Error
Server: Microsoft-IIS/5.0
It seams that the server does not support.
and tried both
curl_setopt($ch, CURLOPT_RANGE, "0-500");
curl_setopt($ch, CURLOPT_RANGE, 0-500);
does not work.Still gives whole output.
Received on 2004-07-20