curl-and-php
Re: HTTP HEAD request??
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 3 Oct 2003 15:06:03 +0200 (CEST)
Date: Fri, 3 Oct 2003 15:06:03 +0200 (CEST)
On Mon, 29 Sep 2003, Marc Richards wrote:
> Is it possible to do a http HEAD (instead of GET, POST or PUT) request using
> the php curl extension? I know that curl itself can do it, but I wasn't
> able to find the appropriate CURLOPT constant in the documentation for the
> php extension.
CURLOPT_NOBODY is the name of the option in libcurl.
-- Daniel Stenberg -- curl: been grokking URLs since 1998 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sfReceived on 2003-10-03