Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2005
    Posts
    3

    Name and Password?

    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?

  2. #2
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959
    Code:
    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

  3. #3
    Join Date
    Nov 2005
    Posts
    3
    Quote Originally Posted by Worm
    Code:
    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 =)

  4. #4
    Join Date
    Nov 2005
    Posts
    3
    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 =)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts