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

curl-and-php

Curl return code Q (doesn't seem to be in man?)

From: Galen Surlak-Ramsey <gsurlak_at_cfl.rr.com>
Date: Sat, 13 Jul 2002 04:04:56 -0400

I've been sent here in hopes of finding out what this means:

Ok here's my exec statement:

$str = "curl -m 600 -d '$this->request' $this->url";

exec("$str", $authorize, $ret);

Now, if I run it from just a http:// I get a response (not the one I want, but I get one) and $authorize[0] is the server's response and $ret is 0.

If I run the same 2 lines from my https:// location, my $authorize array is empty, and $ret is 127

What is 127? I know its the return code for exec but I really don't know what that means.

Version info: curl 7.9.5 (i686-pc-linux-gnu) libcurl 7.9.5 (OpenSSL 0.9.6c)

-------------------------------------------------------
This sf.net email is sponsored by: Jabber - The world's fastest growing
real-time communications platform! Don't just IM. Build it in!
http://www.jabber.com/osdn/xim
Received on 2002-07-25