does php 6 support $REMOTE_ADDR???



'm trying to make a page that only prints the page when it is acess
from one site only. I typed the code in and nothing is happening heres
the code

<?php
switch ($HTTP_REFERER)
{
case ("www.sentinelsolutionsinc.com/js/secret.html") :
showme();
break;
case "http://www.sentinelsolutionsinc.com/js/secret2.php"; :
showme();
break;
case "http://www.sentinelsolutionsinc.com/js/scripts.html"; :
showme();
break;
case "http://www.sentinelsolutionsinc.com/js/mjokes.html"; :
showme();
break;
case "http://www.sentinelsolutionsinc.com/js/movies.html"; :
showme();
break;
default : print "<body
onload=\"window.location='index.html'\">";

}

function showme()
{
**website here***
}

?>

.



Relevant Pages