How to put browser redirect into PHP [message #17978] |
Thu, 20 July 2006 09:59  |
Eclipse User |
|
|
|
Denis,
how do i put a browser redirect into a phoenix ptp page?
I've poked around and can't tell if the samples I found would work
with phoenix. What do you recommend?
I know how to redirect an html page, you gave an example of that in the
phoenix intro material..
I named a page on our site and later decided to rename it,
but want the older newsgroup posts etc. to find it.
....Beth
|
|
|
Re: How to put browser redirect into PHP [message #17991 is a reply to message #17978] |
Thu, 20 July 2006 12:12  |
Eclipse Webmaster Messages: 607353 Registered: July 2009 |
Senior Member |
|
|
Beth,
In your PHP page, simply have the following code:
<?php
header("Location: newpage.php");
// or header("Location: http://www.server.com/newpage.php");
?>
where newpage.php is the URL (relative or absolute) to the redirect.
This causes the server to send a 302 code to the browser; therefore, the
user's back button should work as expected.
D.
Beth Tibbitts wrote:
> Denis,
> how do i put a browser redirect into a phoenix ptp page?
> I've poked around and can't tell if the samples I found would work
> with phoenix. What do you recommend?
> I know how to redirect an html page, you gave an example of that in the
> phoenix intro material..
>
> I named a page on our site and later decided to rename it,
> but want the older newsgroup posts etc. to find it.
>
> ...Beth
|
|
|
Re: How to put browser redirect into PHP [message #569942 is a reply to message #17978] |
Thu, 20 July 2006 12:12  |
Eclipse Webmaster Messages: 607353 Registered: July 2009 |
Senior Member |
|
|
Beth,
In your PHP page, simply have the following code:
<?php
header("Location: newpage.php");
// or header("Location: http://www.server.com/newpage.php");
?>
where newpage.php is the URL (relative or absolute) to the redirect.
This causes the server to send a 302 code to the browser; therefore, the
user's back button should work as expected.
D.
Beth Tibbitts wrote:
> Denis,
> how do i put a browser redirect into a phoenix ptp page?
> I've poked around and can't tell if the samples I found would work
> with phoenix. What do you recommend?
> I know how to redirect an html page, you gave an example of that in the
> phoenix intro material..
>
> I named a page on our site and later decided to rename it,
> but want the older newsgroup posts etc. to find it.
>
> ...Beth
|
|
|
Powered by
FUDForum. Page generated in 0.58547 seconds