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