On the internet to find a lot of PHP terminal to receive the data sent by the client and the file code, summed up today. First local use of XAMPP (Integration Server Development installation package) PS: Very silly, has been the next step, but also particularly powerful! Then write the PHP code, receive the client iOS request, the corresponding processing! (Realize the whole process of foreground and background interaction) Ah, all by yourself, you will find good tired!!! Don't say much nonsense, let's get started!
I. Installing the local server (XAMPP)
To a Mac version of the XAMPP installation package, give a kind of! Http://pan.baidu.com/s/1gecDFAb
1. Double-click Run. DMG installation package
2. Double-click
If you encounter an error, please refer to: http://www.cnblogs.com/lidongxu/p/5256351.html
Waiting is short-lived!!!
PS: This page you can enter in the address bar localhost or 127.0.0.1 can be accessed!
Here, our XAMPP installation is basically complete. Everyone can open Launchpad see XAMPP
In the application, find the Xampp folder, you can also see XAMPP installed, MANAGER-OSX is the boot icon, and uninstall is an anti-installation program, that is, run it for uninstallation (remember)
You can switch above above picture above this software tag to Manage Servers, make sure 3 options are running status, click Start all directly (when you want to use XAMPP)
Make sure it's all in a running state!
[PHP] Use XAMPP to build a local server, and then use iOS client to upload data to the local server (I. Install XAMPP)