Ah, I think I may have an idea...

You both are setting the status in the query string (more like a GET
request) and setting curl_setopt($ch, CURLOPT_POST, 1).

But, It doesn't look like either of you are setting a POSTFIELDS
option.  I got http_code=>0 sometime ago when I realized I was not
sending a POST body along with a POST request.

So, try setting curl_setopt(CURLOPT_POSTFIELDS, "");  (yes, it's just
an empty string, but it creates the content-length header in the
request) and then see what happens.

-Chad

On Mon, Jul 20, 2009 at 11:23 AM, lda<s...@schultschik.de> wrote:
>
> nobody an idea?

Reply via email to