vividona Posted May 10, 2009 Share Posted May 10, 2009 Hi Plz, why this refuse to make redirect echo "<meta http-equiv='refresh' content='2;url= '".$_SERVER['DOCUMENT_ROOT']."' classes/register.php'>"; are quote signs correct??? Link to comment https://forums.phpfreaks.com/topic/157565-solved-redirect-does-not-work/ Share on other sites More sharing options...
Ken2k7 Posted May 10, 2009 Share Posted May 10, 2009 Other than the quotes, I think you have the URL wrong. Try echo "<meta http-equiv='refresh' content='2;url=http://".$_SERVER['HTTP_HOST']."/classes/register.php'>"; What's the URL you want to redirect to? Link to comment https://forums.phpfreaks.com/topic/157565-solved-redirect-does-not-work/#findComment-830902 Share on other sites More sharing options...
vividona Posted May 10, 2009 Author Share Posted May 10, 2009 Other than the quotes, I think you have the URL wrong. Try echo "<meta http-equiv='refresh' content='2;url=http://".$_SERVER['HTTP_HOST']."/classes/register.php'>"; What's the URL you want to redirect to? Thank you Sir. Done! Link to comment https://forums.phpfreaks.com/topic/157565-solved-redirect-does-not-work/#findComment-830914 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.