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.