PDA

View Full Version : Name and Password?


Cap
11-08-2005, 04:01 AM
I need your help!
Examples i have 2 table (InputText) and button (Image)
And this table have a name "name" and "pass" i need someone input In (InputText) Name what i set and second he input in (InputText) Password what i set and click to the buttun and if all rights he go to the next page. And how can i do this?

Worm
11-08-2005, 06:09 AM
sUsername = "TestUser"
sPassword = "MySecret"

if sUsername == Input.GetText("txtUserName") then
if sPassword == Input.GetText("txtPassword") then
--login was correct
else
--bad login
end
else
--bad login
end

Cap
11-08-2005, 05:23 PM
sUsername = "TestUser"
sPassword = "MySecret"

if sUsername == Input.GetText("txtUserName") then
if sPassword == Input.GetText("txtPassword") then
--login was correct
else
--bad login
end
else
--bad login
end

Thanks =) :yes

Cap
11-08-2005, 05:30 PM
Can you say me how can i creat some file for exampels key.dat and include from their username and pass and i make create may be 18 username and pass and include this? Sorry My English is not good =( But i'm learning =)