--------------1234567
Content-Disposition: form-data; name="val1"
test
--------------1234567
Content-Disposition: form-data; name="val2"
--------------1234567
Content-Disposition: form-data; name="val3"
moredata
--------------1234567
Content-Disposition: form-data; name="val4"
this is a test
--------------1234567
Content-Disposition: form-data; name="val5"
hello
--------------1234567
How do I get the values to a string like this:
val1=test&val2=&val3=moredata&val4=this is a test&val5=hello
Note the difficulties are:
"" within the string
spaces within the actual value
missing data from some values
Can someone please help? I want to see how good this forum is...
Thanks
