http://qs321.pair.com?node_id=1223033


in reply to with CGI, How to have multiple usernames and passwords from a txt file (password.txt) file

Some side notes, storing your passwords.txt in /tmp isn't wise, nor is having passwords in plain text. You use CGI then manually print headers. You don't set a session, so after you validate the login details you redirect to a URL which isn't ensuring the visitor is logged in. Make life easy on yourself, see CGI::Alternatives.