Re: Redirecting to a non-framed site

From: Date: Wed, 18 Oct 2000 03:24:52 +0000
Subject: Re: Redirecting to a non-framed site
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-20774@lists.php.net to get a copy of this message
Heya: > Well, for one more browsers use frames than the ones that use JS. Besides > some users may have JS turned off. Now the scenario is this, someone is > imprisoning my site in their frames. An imperfect approach may be to check the $HTTP_REFERER calling your page. If it matches the scoudrel's, serve up a page telling them this page is hijacked and provide a link to the page. Something like this. Some brat is hijacking my content. <a href="thispage.htm" target="_top">Please look at it in the right way.</a> Hmm, perhaps you can put that in a <meta> refresh instead? Haven't tried... Good luck --Dan -- PHP scripts that make your job easier http://www.analysisandsolutions.com/code/ SQL Solution | Layout Solution | Form Solution T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y 4015 7 Ave, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409

« previous php.general (#20774) next »