what's best way to create a password generator?
Posted: Tue Jul 09, 2002 12:02 am
This is quite a challenging task for me to do if you could give me some help that would be great.
I am trying to create a password generator after the user fills in the application form and click on the submit button.
It will generate a username and password with 8(numbers or characters),
once the user submits, it will send the username and password to the email specified by the registration and will insert the username and password into a new table in MYSQL but the customerid(primary key) will be the same as the registration details form.
What is the best way to do this? Is it better to use javascript to generate the username and password and then sends it to the user via the email and then insert to MYSQL database.
I know it is easier to insert the username and password to the same table as the registration details, but is it possible to insert into two tables having the same customerid(primary key).
Thanks to all php coder
I am trying to create a password generator after the user fills in the application form and click on the submit button.
It will generate a username and password with 8(numbers or characters),
once the user submits, it will send the username and password to the email specified by the registration and will insert the username and password into a new table in MYSQL but the customerid(primary key) will be the same as the registration details form.
What is the best way to do this? Is it better to use javascript to generate the username and password and then sends it to the user via the email and then insert to MYSQL database.
I know it is easier to insert the username and password to the same table as the registration details, but is it possible to insert into two tables having the same customerid(primary key).
Thanks to all php coder