Use this: <?php Header("Location: anypage.php"); exit(); //stopping the script ?> ----- Original Message ----- From: "Ozgur Demirtas" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 24, 2001 9:47 AM Subject: [PHP] redirecting the browser
> Hi all, > > I have a PHP script and at one point of the script I am trying to redirect > my browser to a certaion page. I can't seem to find an easy way of doing > this. header() call is so much of a problem. There is no such function like > redirect("...") as in ASP? > > PS: I am using PHP version 3.09 as an Apache module on Solaris. > > Thanks! > Ozgur > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]