I appreciate the quick response from everyone. Thanks for taking the time to look at the code.
Joost, the code is part of a package to manage accounts and passwords to a Web site. It's freeware from http://www.siteinteractive.com/acctlite/. Maybe I'll take your advice and search for something else!
Thnx,
Dave
Comment on Re: Re: CGI: Premature end of script headers
Their is a package I looked at and one of my juniors used for a client called BURP (Basic User Registration Package). It can be found at this location.
But be warned - it is mod_perl based. However it was a snap to install, the documentation is very clear and the code was very well written IIRC.