Gossamer Forum
Home : General : Perl Programming :

How do I?

Quote Reply
How do I?
Alex gave me this code:

Code:
if ($ENV{'REMOTE_HOST'} !~ /208.242.34.51/) {die "Hacker detected: $ENV{'REMOTE_HOST'}!";
}

Is there some way to change this so that it will check for a specific password in a file labeled password.cgi or something similar when a user input a password into a form.

------------------
______________
XanthisHP
http://boom.home.dhs.org
BOOM! Flash 3 Resource - When there's a Flash, there's a BOOM!
Quote Reply
Re: How do I? In reply to
Never mind, I found a way to protect the site without htaccess.

------------------
______________
XanthisHP
http://boom.home.dhs.org
BOOM! Flash 3 Resource - When there's a Flash, there's a BOOM!