Except from the issue that Platonides mentioned, there is something
else wrong with your postdata
On Thu, Feb 11, 2010 at 2:10 PM, Herulee <heramb.forums(a)googlemail.com> wrote:
$file = "c:\\images\\D4215_0_0.jpg";
$data = "action=upload&filename=$file&token=%2B%5C";
This is urlencoded data.
You specify multipart/form-data. When you specify
that you send
multipart/form-data, it's not going to work if you send urlencoded
data. You need to send the data in the encoding that you specify; you
can't expect it to work otherwise.