qwasyx Posted January 30, 2012 Share Posted January 30, 2012 How to send multipart/form-data ? via curl or so ... here i am going to send it - http://dezend.me/dezend/ Quote Link to comment https://forums.phpfreaks.com/topic/256038-php-send-multipartform-data/ Share on other sites More sharing options...
AyKay47 Posted January 30, 2012 Share Posted January 30, 2012 Can you explain your logic a little better please. Quote Link to comment https://forums.phpfreaks.com/topic/256038-php-send-multipartform-data/#findComment-1312542 Share on other sites More sharing options...
qwasyx Posted January 30, 2012 Author Share Posted January 30, 2012 with curl i want to send this form http://dezend.me/dezend/ <form method="post" action="process.php" enctype="multipart/form-data"> <input type="file" name="bestand"><br> <input type="submit" name="upload" value="uploaden"> </form> this is sended via form into this url http://dezend.me/dezend/process.php -----------------------------146043902153 Content-Disposition: form-data; name="bestand"; filename="fileupload.php" Content-Type: text/php <?php some php file ... ?> -----------------------------146043902153 Content-Disposition: form-data; name="upload" uploaden -----------------------------146043902153-- Quote Link to comment https://forums.phpfreaks.com/topic/256038-php-send-multipartform-data/#findComment-1312543 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.