Re: Refer Links

From: Date: Mon, 25 Sep 2000 07:32:43 +0000
Subject: Re: Refer Links
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-17413@lists.php.net to get a copy of this message
Hi Alan! On Wed, 20 Sep 2000, Alan Todd wrote: > 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/") > { try getenv ('HTTP_REFERER') here and see if it works ... > echo "Sorry you are trying to get this page the wrong way. Try to follow > the correct link."; > -- teodor

« previous php.general (#17413) next »