shamsuljewel Posted September 6, 2007 Share Posted September 6, 2007 how to redirect a page by using php? I am doing it by javascript, but how in php? I use header("Location: success.php"); but it some time warning coomon error cannot sent header already sent Quote Link to comment https://forums.phpfreaks.com/topic/68174-redirect-page/ Share on other sites More sharing options...
Wuhtzu Posted September 6, 2007 Share Posted September 6, 2007 That is the way to do it in PHP... header("Location: success.php") See this http://www.phpfreaks.com/forums/index.php/topic,37442.0.html thread about header errors Quote Link to comment https://forums.phpfreaks.com/topic/68174-redirect-page/#findComment-342764 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.