Cliffahoy Posted May 31, 2010 Share Posted May 31, 2010 I need to know how to have a seperate success after login page with name loginsuccess.php The reason is a redirect script i am using will not work if the login successful is on the same userlogin.php doc. I hope this is not to much to ask for. [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/203460-seperate-success-page-from-login/ Share on other sites More sharing options...
riwan Posted May 31, 2010 Share Posted May 31, 2010 usually this would do header("location: loginsuccess.php"); but in your code it won't work because you're already outputting to the browser before sending header read here for more info http://www.phpfreaks.com/forums/index.php/topic,37442.0.html Link to comment https://forums.phpfreaks.com/topic/203460-seperate-success-page-from-login/#findComment-1065880 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.