* This script registers a user using a username, password, name, and email (provided through POST). This script communicates with the MySQL server to save user data.
This script registers a user using a username, password, name, and email. This script communicates with the MySQL server to save
user data.
*/
*/
header("Access-Control-Allow-Origin: *");
header("Access-Control-Allow-Origin: *");
...
@@ -11,19 +12,11 @@ header("Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Ac
...
@@ -11,19 +12,11 @@ header("Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Ac