Refer Links
| From: | Alan Todd | Date: | Wed, 20 Sep 2000 17:53:19 +0000 |
| Subject: | Refer Links | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-17270@lists.php.net to get a copy of this message | ||
What i am trying to do is
if the link they are coming from is right do this
if not do this
if ($HTTP_REFERER != "http://$HTTP_HOST/referenece/") {
echo "Sorry you are trying to get this page the wrong way. Try to follow
the correct link.";
} else {
if ($location == "secure") {
echo "$contents";
} else {
echo "$content" ;
}
}
no work
*******************************************
* Alan Todd *
* Infoave.net *
* Web Development *
* ICQ : 159944 *
* E-Mail : Alan.Todd@infoave.net *
*******************************************