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: 2017/02/22 18:13 (external edit)

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


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