curl-and-php
Re: TFTP PUT in PHP
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 27 Oct 2007 15:42:04 +0200 (CEST)
Date: Sat, 27 Oct 2007 15:42:04 +0200 (CEST)
On Sat, 27 Oct 2007, simon_at_ice.org wrote:
> Simply: Yes.
>
> curl_setopt($c, CURLOPT_PUT, TRUE);
> curl_setopt($c, "CURLOPT_PUT", "TRUE");
Thanks, I always thought the CURLOPT_* things were some kind of containers
holding the numerical values libcurl uses for them, not the strings...
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.html _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-phpReceived on 2007-10-27