Framing web pages

Don Erickson derick at zeni.net
Wed Mar 28 21:44:53 CDT 2007


If you just want to stop somebody from loading your pages in a frame, this 
line at the top of your php pages should do it:

<? if(strstr("/$_SERVER[HTTP_REFERER]/",'hijackingdomain.com')) exit; ?>

Regards,

-Don


More information about the Kclug mailing list