Something new for me: How can I get a file-upload on my mobile webpage for iphone, to upload a picture (as profile-thumbnail for example)?
Mabye there is any framewor开发者_Python百科k or library which can do this?
Thx for help ;)
There is no interface for uploading content in Mobile Safari. The best workaround I've seen is to have people email files to an address, and then you have some cron jobs that extract uploads from the email.
I saw this recently on the site My Slow Low. One of the guys who built it did a write-up on extracting IMAP email attachments using php, which could be a good starting point for you.
Check out
http://picupapp.com/
Picup is a native iPhone Application that facilitates photo uploads to the web. Since file-upload form fields don't work in Mobile Safari, a webapp can instruct Picup to choose and upload a photo. Once the upload is complete, Picup returns control to the webapp with information about the upload.
精彩评论