Hey Todd, I use iframe alot.. what you have to do is tell it a target... but, i am not sure if you can do that with header('Location:...") .. i would be interested to know also Joe On Mon, 28 Feb 2005 16:30:28 -0800, Todd Cary <todd@xxxxxxxxxxxxxxxxxx> wrote: > My client insists on using inline Frames that uses my php pages. As an > example, this is on one page: > > <IFRAME target="_top" frameborder="0" > SRC="search.php?search_text=<?echo($search_text);?>" WIDTH=592 HEIGHT=282> > </IFRAME> > > This works well with the "control" being given to search.php. What I do > not understand is that within search.php, I have a statement that is > suppose to pass "control" to anther page. The line is > > header("location: http://192.168.0.23/mypath/mypage.php"); > > Rather than going to the page, it opens mypage.php in the inline frame. > > Is there a way to "leave" the inline frame? > > [Excuse my nomenclature e.g. "control", "leave"] > > Todd > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php