#32616 [Opn->Bgs]: Call CURL'form upload from exec() 's problem !
| From: | sniper@php.net | Date: | Thu, 07 Apr 2005 15:46:43 +0000 |
| Subject: | #32616 [Opn->Bgs]: Call CURL'form upload from exec() 's problem ! | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-76486@lists.php.net to get a copy of this message | ||
ID: 32616
Updated by: sniper@php.net
Reported By: fluzj at 21cn dot com
-Status: Open
+Status: Bogus
Bug Type: cURL related
Operating System: RHEL4
PHP Version: 4.3.9
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2005-04-07 09:00:27] fluzj at 21cn dot com
Description:
------------
exec() call curl problem!
platform: RHEL4 (PHP 4.3.9 CURL 7.12.1 )
example:
/usr/bin/curl -k -s -S --connect-timeout 5 -F "option=$r_option" -F
"upload=@/tmp/upload" https://admin:admin@localhost:3444/upload.cgi
I want to upload the file througt form with the CURL.
it can work on the command console,but When i call it from exec(),it do
nothing and return not 0 but 26. when i drop the @ sign,it can work with
only upload content with "/tmp/upload".As the same the < sign is not
work yet.I remember it can work in earlier version .I have not test on
the 4.3.10 or 11 version. and use the system() function is the same
problem.
thanks!
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32616&edit=1