sfcode
An Online Competing and Development Environment
|
Variables | |
$postData = file_get_contents("php://input") | |
This script registers a user using a username, password, name, and email. This script communicates with the MySQL server to save user data. Passowrd is hashed, and SQL injection is taken care of. The process of registering involves -
Returns a 404 error if username already exists.