problem with multipart/form-data
This message: [ Message body ] [ More options ]
Related messages: [ Next message ] [ Previous message ] [ Next in thread ] [ Replies ]
From: Daniel Fairchild
Date: Mon, 20 Jun 2005 17:50:22 +0200
I've been trying to get libcurl ( libcurl/7.13.1 ) to do my exact php
(5.0.4 ) bidding for a few days now, and its not working out for me.
From the archives I can tell that others have had the same problem:
http://curl.haxx.se/mail/lib-2003-09/0115.html
My problem is that the server I'm trying to pass multipart/form-data
checks that everything is exactly like it would be coming from a
browser. The problem is with the part of the http
request. Allow me to illustrate with the following html:
ENCTYPE="MULTIPART/FORM-DATA">
Would result in the following HTTP request from a regular browser (IE 6
in this case), if we just press "submit" button without adding anything: