Re: Redirecting a page?

From: Date: Fri, 31 Jan 2003 14:25:21 +0000
Subject: Re: Redirecting a page?
References: 1  Groups: php.lang 
Request: Send a blank email to php-lang+get-451@lists.php.net to get a copy of this message
as long as no header is sent you could user header('Location: blah') if header already sent you can use some simple javascript: echo "<script language='javascript'>window.location.ref = 'blah'</script>" code above is not fully correct check manuals for header() and javascript! Roel S.F. Abspoel wrote:
If after execution of some code i want to redirect to a different page instead, how do i do this? As long as no header is send i could use include "mypage.php" but i want to redirect, not include.. any ideas? -- Met vriendelijke groet, Roel S.F. Abspoel
-- Sebastian Mendel info@sebastianmendel.de www.sebastianmendel.de www.tekkno4u.de www.nofetish.com

« previous php.lang (#451) next »