Syntactic Confectionery Delight | |
PerlMonks |
Re: Login Scriptby scorpio17 (Canon) |
on Aug 28, 2012 at 21:03 UTC ( [id://990334]=note: print w/replies, xml ) | Need Help?? |
The code where you retrieve your form parameters should like something like this:
The database query needs to use a placeholder, and check for errors - something like this:
Since HTML is stateless, you need to use something like CGI::Session to remember that a particular user is logged in.
Using a framework will make your life much easier.
Here's a link to a simple login tutorial I wrote: That should help get you started.
In Section
Seekers of Perl Wisdom
|
|