PHP script sample for iPhone hi-score/survey uploading?
I am looking for a PHP example/tutorial which can accept hi-scores/survey upload from an iPhone. Hopefully, the PHP script:
- accepts POST, in additional to GET
- work开发者_JAVA技巧s over SSL (https)
- connects to MySQL
In addition, it'd best the iPhone can get a session from the server and submit the session value along with the hi-score. Thanks
It's all HTML, you don't need anything special for the iPhone unless you're trying to tailor the looks. I've done almost the exact thing you're asking using Zend Framework and the iWebKit CSS library.
- If you want sessions/user details create a login page
- Create forms for submitting your relevant data
- Create pages for displaying said data however you see fit.
精彩评论