View Full Version : NSURLConnection Content-Disposition:
hiddenpremise
May 31, 2009, 08:34 PM
I am trying to upload a sqlite3 database. What Content-Disposition: should I to be able to access the database through the $_FILES[] env var in php? I have tried "form-data", but that just posts it to a POST and REQUEST var. I am so lost...
kainjow
Jun 1, 2009, 11:38 PM
This is the string format I used for file uploads which has worked.
@"Content-Disposition: form-data; name=\"%@\"; filename=\"%@\"\r\n\r\n"
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.