Thx worked
On 20 Jul., 20:27, Chad Etzel <[email protected]> wrote: > 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 gothttp_code=>0sometime 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<[email protected]> wrote: > > > nobody an idea?
