squiblo Posted July 24, 2009 Share Posted July 24, 2009 logout.php <php session_start(); session_destroy(); header("location:index.php"); ?> i get a blank page at logout.php and it does not redirect me to index.php Link to comment https://forums.phpfreaks.com/topic/167272-solved-redirect-on-logout/ Share on other sites More sharing options...
rhodesa Posted July 24, 2009 Share Posted July 24, 2009 you are missing the ? in the php tag: <?php session_start(); session_destroy(); header("location:index.php"); ?> Link to comment https://forums.phpfreaks.com/topic/167272-solved-redirect-on-logout/#findComment-881949 Share on other sites More sharing options...
squiblo Posted July 24, 2009 Author Share Posted July 24, 2009 i dont realise how stupid i am sometimes Link to comment https://forums.phpfreaks.com/topic/167272-solved-redirect-on-logout/#findComment-881952 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.