Creating accounts for MaNGOS
can be done in PHP
from a web-interface. The following PHP
script expects the parameters:
username
password
email
to be passed via POST, after which it will insert the user into the database.
The script requires the PHP PDO
extension which as already been merged into PHP
on the latest versions. This preference allows the use of prepared SQL
statements and is a vast improvement over the standard mysql_query()
calls.