
October 12th, 1999, 11:34 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
I would like to be able to do this myself.
The header() function can redirect the browser to a new page, but only at the very beginning -- not good enough.
Since I haven't yet found a way within PHP to just say switch_to_page ("new.php3"), I've been cheating and using javascript:
echo ("<SCRIPT>self.location.replace('new.php3');</SCRIPT>");
exit;
It's an ugly and flawed solution and I hate it. It would be great if anyone could offer a better way.
|