[thelist] 'click to remove this frame' link... - a solution

Peter-Paul Koch gassinaumasis at hotmail.com
Tue Jul 24 10:29:23 CDT 2001


><a href="foo.php?url=http://www.offsitefoo.com">
>
>And then through the wonderful features of PHP it gets automatically added
>to $HTTP_GET_VARS[] ('cause it's a get action, even if it doesn't
>technically come from a form).  I then reference the top frameset like so:
>
><frame name="topNav" src="topnav.php?url=<? echo "$HTTP_GET_VARS[url]" ?>
>
>In order for the url to be carried over to the page that actually needs it.
>Bear in mind, still nothing's hardcoded, which is groovy.
>
>Anyway. In the topnav.php file all you need to do is:
>
><a href="<? Echo "$HTTP_GET_VARS[url] ?>" target="_top">REMOVE FRAME</a>
>
>The one small little downside is that if they navigate through the remote
>site, and _then_ click on the 'remove frame' link, it takes them to the
>original remote page called, not the page they were on.  Which is to say it
>operates like any other I've seen out there...

Right...that might work. I'll try it in my next installment of the Great 
Frame Busting Research.

Thanks,

ppk

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp





More information about the thelist mailing list