How can I send multipart/form-data with cURL? In the notes in the PHP manual it says just pass curl_setopt an array of the name/value pairs. This kind of works, but once it's sent and PHP parses it into the $FILES and $POST arrays, I get something like:
[fileýýýý1] => Array
The name has lots of junk in it. Anyone know how to do this? I don't mind breaking out of PHP and have it execute it as a shell command, but I couldn't get curl to send more than one key/value with multipart/form-data from a command line. Any help is greatly appreciated. Thankyou!