does php 6 support $REMOTE_ADDR???
- From: "jon" <jmshahen@xxxxxxxxxxx>
- Date: 25 Nov 2006 13:42:32 -0800
'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***
}
?>
.
- Prev by Date: Re: newbies, text box problem
- Next by Date: does php 6 support $REMOTE_ADDR???
- Previous by thread: read exif with php
- Next by thread: does php 6 support $REMOTE_ADDR???
- Index(es):
Relevant Pages
|