Hi!
I would like to assign som permissions for one specific user. For example:
I have a registered user with the following info:
username: Lasse
password: 12345678
When he signs up, the script automaticly creates a .txt-file named Lasse and containing the password. Okay so far so good.
Now here comes the problem:
What if another user tries to use the same username!! It would probaply overwrite the existing txt-file. Not so good.
Is there any way, i can make a script which, upon submission, checks if the file is already created and then if it is created, tells the user to pick another name.
I really hope you can help!!
Have a nice day!
Lasse Laursen