First off, you go into your MySQL database and create a new user access - I am using MySQL Query Browser but you can use whatever program fits you, as long as you know how. Please don't post questions like "how do i do this with x ?????????????".
In MySQL Query Browser go to Tools > MySQL Administrator and then click "Add New User"
Give it these priviliges:
Next, open up config.php from the registration script you downloaded above and change it like so:
Code:
$host['naam'] = 'PUT YOUR IP HERE'; // my host
$host['gebruikersnaam'] = 'PUT THE USERNAME YOU MADE HERE'; // my database username
$host['wachtwoord'] = 'PUT THE PASSWORD YOU DEFINED HERE'; // my database password
$host['databasenaam'] = 'maplestory'; // my database name
Now save it, make any further changes you want and upload it to the web host. Open it in your browser and you should be able to make an account!
Well done! You have set up an external registration site!
If this doesn't work then it may be that:
- Your ports are not forwarded correctly (check your database for the port and then visit here
- You entered something wrong.
- You have given the wrong access to the user
- Your host does not have PHP enabled.