Re: Inline Frame and php
| From: | Joe Harman | Date: | Tue, 01 Mar 2005 16:24:01 +0000 |
| Subject: | Re: Inline Frame and php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-209704@lists.php.net to get a copy of this message | ||
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@aristesoftware.com> 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
>
>