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

curl-and-php

Re: Curl + Php + Orkut

From: Dan Myers <heron_at_xnapid.com>
Date: Tue, 24 Jun 2008 14:17:51 -0600

Sorry, I told you wrong. I meant this:

$headers[] = "Content-length: ".filesize($arquivo)."\n";
curl_setopt ($ch, CURLOPT_HTTPHEADER, $headers);

If you need to add additional headers in the future, add something like
this between those two lines:

$headers[] = "Header-name: ".$headercontents."\n";

- Dan

Elias Rezende wrote:
>
> Still donīt work...
> Same problem
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2008-06-24