[Question] Account Creator Using Website.

05/01/2009 18:25 w00tare#1
Hey people,

So I'm already a few hours bizzy with something , ;
I would like to create a Admin-registration page.
So I already have a page contains :

* Linking to mySQL Database
* Username setup

But what i want is an extra option : Choosing if its a NormalPlayer , pm or gm
Because my friend create a account over my Appserver and then i need to logon to Mysql and make him gm but i want it faster,
But i cant fix that . So if someone can help me with it
what i ask is :
A page were u

* Can link to MySQL Database
* Choose Username ( Password will be chosen in first log-on )
* Choose if the player is GM,PM, Or normal

Any Idea's?
05/01/2009 21:18 PeTe Ninja#2
Quote:
Originally Posted by w00tare View Post
Hey people,

So I'm already a few hours bizzy with something , ;
I would like to create a Admin-registration page.
So I already have a page contains :

* Linking to mySQL Database
* Username setup

But what i want is an extra option : Choosing if its a NormalPlayer , pm or gm
Because my friend create a account over my Appserver and then i need to logon to Mysql and make him gm but i want it faster,
But i cant fix that . So if someone can help me with it
what i ask is :
A page were u

* Can link to MySQL Database [1]
* Choose Username ( Password will be chosen in first log-on ) [2]
* Choose if the player is GM,PM, Or normal [3]

Any Idea's?

[1] - Use this code...

Code:
<?php
mysql_connect("localhost", "root", "pete") or die(mysql_error());
echo "Connected to MySQL<br />";
mysql_select_db("coproj") or die(mysql_error());
echo "Connected to Database";
?>

just change pete to your root pass you can delete the echos if you want

[2] - That is in LOTF...So if your using LOTF then your set for that..Find a register page release if you can't just ask me and I will find one for you.


[3] - [Only registered and activated users can see links. Click Here To Register...] In there there is a page called admin and admin_login it uses a SET password so you type in the password so it will use that password with any username. I can help you make one if you need to , I looked at it before and it worked for me.


For some tutorials for like PHP or MYSQL go to here...[Only registered and activated users can see links. Click Here To Register...] , its very helpful and It helped me create like rankings before
05/02/2009 12:46 w00tare#3
Thanks I only needed the Third thing thx anyway!