Link to home
Start Free TrialLog in
Avatar of marquinez
marquinez

asked on

create a web page that asks for user name and password.

hello; I need to create a web page that validates a user name and password.  The first page should have two text boxes: one for the user name and one for the password and a button that says login.  Once the button is clicked the user name and password should be passed to a CGI script.  The script will check to see if the user name and password is located in a file.  If the user name and password are both located in a file then a page should display "Successful login".  If either the user name or password is wrong then the page should display "Unsuccessful login" and a link back to the login page. Could you help me?. Thank you.
ASKER CERTIFIED SOLUTION
Avatar of ahoffmann
ahoffmann
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Arty K
Arty K
Flag of Kazakhstan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Venabili, Dushan911 also give good suggestion. And very good advice to search knowledge base before asking a question :-)
If marquinez uses Perl, these PAQs may be usefull.
Since we don't know what marquinez thinks, Dushan911 should also be included to split poiunts.
Well..
He made an internal search and posted two links without really explaining what is on them and so on.. It won't take too much tro post some explanations as well, will it?
Is illegal to post internal EE PAQ links while answering questions? , which are perfectly matching quetioner's requirement

BR Dushan
>> Is illegal to post internal EE PAQ links while answering questions? , which are perfectly matching quetioner's requirement

No :) But basically when posting ANY link, it is better to post some information what is on it... It will make the question more readable. That's all

Up to the Mods how to close
I agreee. Thanks!

BR Dushan