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

Re: Re: file input problem

by thabenksta (Pilgrim)
on Apr 25, 2001 at 20:20 UTC ( [id://75522]=note: print w/replies, xml ) Need Help??


in reply to Re: file input problem
in thread file input problem

The reason you are getting 500 error is becuase you are not printing anything out if the username and password don't match. You need to do an else statement after the if ($pass eq $refpass && $log eq $reflog) that prints out invalid login or something, to account for failed logins.

-thabenksta
my $name = 'Ben Kittrell'; $name=~s/^(.+)\s(.).+$/\L$1$2/g; my $nick = 'tha' . $name . 'sta';

Replies are listed 'Best First'.
Re: Re: Re: file input problem
by Anonymous Monk on Apr 25, 2001 at 22:56 UTC
    THANK YOU thabenksta!!!!

    although I can't use the else the way the script is now, you were 100% right... no more 500's...

    I have taken some of the other suggestions to heart as well... so thanks to everyone who replied!!!

    now if I knew how to delete the question...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-03-30 09:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found