Accepting File Uploads from CURL
| From: | Brad Bonkoski | Date: | Thu, 15 Jun 2006 14:56:38 +0000 |
| Subject: | Accepting File Uploads from CURL | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-238099@lists.php.net to get a copy of this message | ||
Hello All,
I am using PERL to generate an XML file from a database query. no problems there.
I then try to use curl to send it to an upload script.
Essentially the command line looks like this: curl -H 'Content-Type:text/xml' -d file.xml server/up.php
for my up.php I am just trying to dump stuff out, like the POST and FILES arrays
Both those arrays are empty.
Any thoughts on how to debug this, and/or suggestions for handling this?
TIA.
-Brad