curl-and-php
Re: curl upload error (23): command line OK -- exec from PHP fails ... !
Date: Tue, 31 Aug 2004 17:31:06 +0100
Daniel
>>> I can upload a 4+ Mb file OK from my linux command line using curl.
>>> However, when I execute the same command from PHP using backtick
>>> quotes it fails.
>
> If I were you, I'd use --trace or --trace-ascii on both command lines
> and compare the outputs to figure out the differences.
Thanks for this. However, whenever I run my commands with
"--trace-ascii" or " --trace" I get an error message
"curl: (60) SSL certificate problem, verify that CA Cert is OK"
(I think that) I need to run the command with the "--insecure",
but when I do this with the traces, above, I get the above error
message anyway! ...
Harry
+-+-+-+-+.+-+-+-+-+.+-+-+-+-+.+-+-+-+-+.+-+-+-+-+.+-+-+-+-+.+-+-+-+-+.+-+-+-+-+-
http://www.eng.ox.ac.uk/people/Harry.Fearnley
Dept Engineering Science, Parks Rd, Oxford, OX1 3PJ, UK
Tel: +44 (0)1865 273928 -- Fax: +44 (0)1865 273010
Received on 2004-08-31