Re: Framed & Linked Content
| From: | Per Jessen | Date: | Tue, 29 Jan 2008 15:34:49 +0000 |
| Subject: | Re: Framed & Linked Content | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-268244@lists.php.net to get a copy of this message | ||
Mike Potter wrote:
> There is JavaScript out there, to make a page break out of frames if
> someone else has your page in a frame of theirs.
> Is it possible to do this with PHP or is that the wrong side of
> Server/Client-side operations?
I haven't checked, but I'm wondering if the REFERER field might help you
if want to do a server-side redirect.
> Related, when target files are PDF's, images, or other than
> .php/.htm(l), does PHP provide any remedies against that
> sort of remote site linking?
Check the REFERER field.
/Per Jessen, Zürich