开发者

Form data upload from iPhone to PHP server via https

开发者 https://www.devze.com 2023-01-01 00:51 出处:网络
Is there a good tutorial or sample project of how to upload data from iPhone to a self-owned web server? The project is like:

Is there a good tutorial or sample project of how to upload data from iPhone to a self-owned web server? The project is like:

  • A survey application on iPhone which stores the user input data in a plist
  • When there is internet connection, the program will enable an "Upload" button
  • When the Upload button is clicked, the program will upload the data via HTTP form submit (POST)
  • The server is Linux + MySQL + Apache + PHP
  • The data should be sent via a https:开发者_Go百科// connection


There are a number of tutorials around, however, to send form data, I gave up with "tinkering" and used the open source ASIHTTPRequest library (in fact ASIHTTPFormRequest) its fantastic and makes it all pretty trivial. http://allseeing-i.com/ASIHTTPRequest/ The download includes examples

0

精彩评论

暂无评论...
验证码 换一张
取 消