Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re: Login Please!!

by Trimbach (Curate)
on Dec 30, 2002 at 22:50 UTC ( #223208=note: print w/replies, xml ) Need Help??

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
        User = test Pass = 1234

        Thanks Again.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://223208]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2021-10-24 20:07 GMT
Find Nodes?
    Voting Booth?
    My first memorable Perl project was:

    Results (89 votes). Check out past polls.