curl-and-php
Re: exit status
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 10 Sep 2002 08:41:12 +0200 (MET DST)
Date: Tue, 10 Sep 2002 08:41:12 +0200 (MET DST)
On Fri, 6 Sep 2002, mixo wrote:
> The php version (using curl direcly instead of php-curl)
>
> $page=exec("curl -m $timeout -d \"$urlParameters\" $url -L
> $option",$lines, $result);
>
> which is just
>
> curl -m sometimeout -d "someparameters" httpsurl -L
>
> ($option is used as either a blank ' ' or another -L)
You're leaving out a lot of details for me to guess:
o curl version?
o OS?
o what's the timeout?
o any particular data you post?
I just ran this:
$ curl -m 28 -d "test" https://[my-test-url] -L
Worked perfectly well on my Linux. I tried 7.9.9-pre1 and 7.10-pre2.
-- Daniel Stenberg -- curl related mails on curl related mailing lists please ------------------------------------------------------- This sf.net email is sponsored by: OSDN - Tired of that same old cell phone? Get a new here for FREE! https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390Received on 2002-09-10