grundybin Posted May 9, 2007 Share Posted May 9, 2007 Hi, Is there a way to do a php redirect on a windows server running IIS and php? header("location: url") isn't liked by the windows server, works perfectly with the unix server though. Any help is much appreciated thanks. Quote Link to comment https://forums.phpfreaks.com/topic/50682-windows-redirect/ Share on other sites More sharing options...
trq Posted May 9, 2007 Share Posted May 9, 2007 A call to header is the only option in php (you could however use Javascript). What does... header("location: url") isn't liked by the windows server mean though? Whats the problem? Quote Link to comment https://forums.phpfreaks.com/topic/50682-windows-redirect/#findComment-249123 Share on other sites More sharing options...
only one Posted May 9, 2007 Share Posted May 9, 2007 maybe you would be better using html then echo "<meta http-equiv='refresh' content='0;url=url' />"; Quote Link to comment https://forums.phpfreaks.com/topic/50682-windows-redirect/#findComment-249126 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.