The command line CURL has the -T option - might be worth looking to see if
you can do the same in PHP, otherwise you might have to break out of PHP and
use the system's CURL

Martin

-----Original Message-----
From: SpamSucks86 [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 28, 2002 10:12 AM
To: [EMAIL PROTECTED]
Subject: [PHP] HTTP POST a file with CURL <----------PLEASE HELP!!!!!!


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.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to