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

curl-and-php

Re: Stop cURL transfer in PHP

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 22 Jul 2004 23:49:17 +0200 (CEST)

On Tue, 20 Jul 2004, Waruna Geekiyanage wrote:

> Is there any way to stop the transfer without getting the whole output.
> I tried
> curl_setopt($ch, CURLOPT_NOBODY,1);

This simply changes the request to a HEAD.

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-07-22