Q:

My frame is redirecting page !! How to stop it?

Possible Duplicate:
How to prevent IFRAME from redirecting top-level window 

<iframe width="980px" frameborder="0" marginheight="0" marginwidth="0" height="1500px" src="http://www.torrentz.com/search?q=<?php echo $_GET['search'] ?>" ></iframe>

I have a frame like this.Now when i run tun this in my page..its startes redirecting my to "torrentz.com"..
Have any idea  how to stop it ?

A:

It's doing something known as "framebusting."
While you can stop that from happening, you really shouldn't do it. If a website has framebusting code, they don't want their site to be in frames. So you should respect that and don't embed it.

Related: How to prevent iframe from redirecting top-level window, Block iframe from setting parent.location, How can I stop child Iframes from redirecting

