[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.technology.phoenix] Re: How to put browser redirect into PHP

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