Inline Frame and php
| From: | Todd Cary | Date: | Tue, 01 Mar 2005 00:30:28 +0000 |
| Subject: | Inline Frame and php | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-209645@lists.php.net to get a copy of this message | ||
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