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. 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? 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' />"; Link to comment https://forums.phpfreaks.com/topic/50682-windows-redirect/#findComment-249126 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.