in reply to Beginner CGI programming, authentication
I recommend using the server's authentication methods. See the Apache manual under Auth modules.
After Compline,Zaxo