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

curl-and-php

Re: PHP/CURL HTTP PUT sample code?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 2 Feb 2006 09:24:41 +0100 (CET)

On Wed, 1 Feb 2006, Tom Ralston wrote:

> I did use "CURLOPT_PUT, 1". But where does the data I want to sent get set?

With libcurl (as in plain libcurl used with the native C APAI), you provide
the data for PUT with the read callback. I have no idea how/if you do that
with PHP/CURL.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2006-02-02