How to realize Registration and Login system with iOS+PHP
This article will explain in detail how to achieve the registration login system for iOS+PHP. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.
Finally, the results are as follows:
Analyze the basic process of doing the project:
1. Create the database first
two。 Write PHP server
3. Write iOS client
1. Create a database
I use wamp.
The database name is ioslogin and the table name is users with three fields user_id,user_name and user_pwd.
User_id is self-increasing.
2.php server
On the php side, I am written in EclipsePHP.
First create a configuration file config.php.
Then create the main file index.php. [php] view plain copy