19.05.2012, 21:29
Hi there, I dont really know if people would help as this isnt a PHP forum, but I think I should give it a go.
What I need help on:
Currently I am editing a register script which uses PHP, I basically got a source which I have been editing to work properly, and It is going well execpt, I want the 'Username' bar to work when this 'Firstname_Lastname' format is input into the textbox or else it returns a error saying:
"Please use this format: Firstname_Lastname" on the top of the page.
The next request is, I would like the register script to save password as a SHA1 hash instead of a text hash, How can I do that?
Thank you in advance, Riddy
What I need help on:
Currently I am editing a register script which uses PHP, I basically got a source which I have been editing to work properly, and It is going well execpt, I want the 'Username' bar to work when this 'Firstname_Lastname' format is input into the textbox or else it returns a error saying:
"Please use this format: Firstname_Lastname" on the top of the page.
The next request is, I would like the register script to save password as a SHA1 hash instead of a text hash, How can I do that?
Thank you in advance, Riddy