Re: Framed & Linked Content

From: Date: Thu, 31 Jan 2008 01:11:19 +0000
Subject: Re: Framed & Linked Content
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-268393@lists.php.net to get a copy of this message
On Tue, January 29, 2008 9:21 am, 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? PHP is the wrong side of the tracks for that. > 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? Not really. You can require a login or other authentication by using a PHP wrapper that spews out the PDF/image/whatever. But an HTTP request is an HTTP request which your server will respond to unless you add logic in PHP to make it respond differently. Nothing built-in; Just plenty of tools to build whatever you want. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/from/lynch Yeah, I get a buck. So?

« previous php.general (#268393) next »