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

curl-and-php

Re: add extra PUT data

From: Dan Myers <heron_at_xnapid.com>
Date: Thu, 19 Jun 2008 15:13:57 -0600

I wrote:
> My question is, how do I go about adding this extra data to a PUT
> request? I don't see any relevant curl_setopt options, but I might be
> missing something.
Noone has answered yet, but I've come up with the solution of writing
the data I need to a temp file (created with tmpfile) and using that
temp file for the PUT request. Is there a better way?

Would it be possible to get another option added to curl_setopt to allow
us to send strings directly without having to write a temporary file?

- Dan
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2008-06-19