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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: with CGI, How to have multiple usernames and passwords from a txt file (password.txt) file
by theravadamonk (Scribe) on Sep 28, 2018 at 08:08 UTC | |
by marto (Cardinal) on Sep 28, 2018 at 12:13 UTC | |
by hippo (Bishop) on Sep 28, 2018 at 08:56 UTC | |
A reply falls below the community's threshold of quality. You may see it by logging in. |
In Section
Seekers of Perl Wisdom