By
Rich
Also, after thinking about it, you could change the script to only let certain IPs view the website.
PHP Code:
<?php
$ip = getenv('REMOTE_ADDR');
$allowz1 = "000.000.000"
$allowz2 = "000.000.000"
$allowz3 = "000.000.000"
if($ip == $allowz1 || $ip == $allowz2 || $ip == $allowz3)
{
}
else
{
echo "You are not authorized to view this site."
}
?>
I have no idea if the code above would work, since I don't know if PHP allows me to make a check and then not do anything with it. But you get the idea, and anyone with minimal PHP skills could make that work.