Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
go ahead... be a heretic
 
PerlMonks  

Re: Lesson Four, Part 2 of online CGI course

by Chrisf (Friar)
on Jan 06, 2002 at 09:04 UTC ( [id://136664]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Lesson Four, Part 2 of online CGI course

Great tutorial Ovid++

I'm glad you chose the login script, it was an excellent example.

As I started to read through it I thought I was going to have a few valid complaints - overly descriptive error messages, storing passwords in plain text, and not checking the username before opening the file (I should have known better ;-). About 10 seconds after I thought of those I saw the bullet list describing the exact same errors and how/why they should be fixed. So there's only use CGI::Carp   qw/fatalsToBrowser/; in the final example that I'm wondering about - isn't it bad to leave that in production code?

Also, one lowly typo to report - right after the second code box and before the bullet list there's a line that starts with "I went ahead and saved that in my cgi-gin"

Once again, great job.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://136664]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.