Try using a javascript with your php to create a redirect redirect:

<script language="JavaScript">
document.location.href="<?PHP echo $url ?>"
</script>

Hope this is useful.

Kieran Hall

-----Original Message-----
From: Jack Kelly Dobson [mailto:[EMAIL PROTECTED]] 
Sent: 26 November 2002 22:43
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Redirect browser to another URL?

Hello,

Anyone know how to have a script re-direct the browser to a URL cleanly?

I've tried using header("location:" . $url); but I'm running into a
problem
with a server error saying header data was already sent from "some line
in
the script that was running" as if the new url is being opened after a
header has already been sent.

All I want to do is have the script stop it's execution and open another
page.

Any ideas?

j-



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to