in reply to Login Please!!

Your code is fine... I just ran it on my machine and it worked perfectly without my changing anything. I suspect your problem is in your pass file... mine looked like this:
gary\ttest cheese\trock
...and that's it. (The \t's are actual tabs... I've just put them in like this so you can see them.) Are you running the CGI on a Windows webserver or a Unix server? If you're creating your password file in Windows and uploading it to a Unix server without changing the line endings you'll have problems.

Hope this helps a little. Good luck!

Gary Blackburn
Trained Killer

Replies are listed 'Best First'.
Re: Re: Login Please!!
by eoin (Monk) on Dec 30, 2002 at 23:44 UTC
    I am Trimbach, yea. How do I change the line endings to suite uploading from Windows to Unix to make it work. Thanks. Eoin

      You don't need to change any files, just make sure that text files are transfered in ASCII mode.

      Hope this helps, -gjb-

        Thanks Trimbach
        It worked like a dream. Feel free to try it yourself at
        http://eoinmurphy.netfirms.com/Login.htm
        User = test Pass = 1234

        Thanks Again.