![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.php archivelibcurl - how to simulate multiple file upload in array
From: Yandos <fakemail@fakeisp.com>
Date: Tue Nov 29 2005 - 17:19:43 CET
Hello all,
I'm sorry for a bit off-topic post, but curl does not have own newsgroup, so I hope someone might
I need to feed form like the following using libcurl:
<form action="file-upload.php" method="post" enctype="multipart/form-data">
I prepare an array and run curl:
<?php
$ch = curl_init();
When I open the phpinfo.html with browser, I see line:
_REQUEST["userfile"] Array
instead of what i'd expect...
_FILES["userfile"]
Array
[type] => Array
[tmp_name] => Array
[error] => Array
[size] => Array
)
Does it mean, that curl cannot handle multiple file uploads when they are in the same array or is
Thanks anyone for kind help.
Y.
|