I am trying to make a file that asks for your username and password, with a registration. When registering, the passwords are saved in variables.
The problem is i have to set names for those variables, names that would be input when you write your username down. for example, i need a password for the user "john". When the username john is written down by a user, it is stocked in a variable, %user1%. As i need to make a variable %johnpass% and "john"= %user1%, i have to therefore make a variable called %%user1%pass% (Variable INSIDE a variable.CRAZY!)
Is there another way to do this???
SIMPLE VERSION:
- User writes username "john"
- "john" is saved in a variable,
%user1% - he writes a password "1q2p"
- how can i save this password in a variable: which would be:
%user1%'s password %%user1%pass%is not working
I really want to find out! If you have a script for registration and login, please tell!!! Thanks in advance.