Shortnote

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.

Code


mangos/create_account.txt ยท Last modified: 2022/04/19 08:28 by 127.0.0.1

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.