HTTP POST a file with CURL <----------PLEASE HELP!!!!!!
| From: | SpamSucks86 | Date: | Fri, 28 Jun 2002 00:11:48 +0000 |
| Subject: | HTTP POST a file with CURL <----------PLEASE HELP!!!!!! | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-104236@lists.php.net to get a copy of this message | ||
If I had a form on a page with <input type="file"> it would POST the
file to the script. I want to have a PHP script read a file and then
emulate that action to another script. Since the
enctype="multipart/form-data" I'd think that I can't just use the normal
POST method with CURL to do it. Anyone know how to do this? Thanks for
any and all replies.