Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

hiddenpremise

macrumors regular
Original poster
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...
 
This is the string format I used for file uploads which has worked.
Code:
@"Content-Disposition: form-data; name=\"%@\"; filename=\"%@\"\r\n\r\n"
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.