ksg Posted August 25, 2007 Report Share Posted August 25, 2007 Whenever I put "session_start();" in my php codes, I always encounter these warnings: Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at W:\www\easyboard\logout.php:4) in error location Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at W:\www\easyboard\logout.php:4) in error locationI also cannot store variables in $_SESSION... and when I put "header("Location: url");", I encounterWarning: Cannot modify header information - headers already sent by (output started at W:\www\easyboard\logout.php:4) in error locationHas it got to do with Uniform Server? If possible, someone please explain this script to me, or recomend another authentication script... Quote Hi. Link to comment Share on other sites More sharing options...
olajideolaolorun Posted August 25, 2007 Report Share Posted August 25, 2007 Most likely its your coding but i cannot debug it... i will look around for you... i used to have a good one.. but forgot the name. Quote Best Regards Olajide Olaolorun The Uniform Server Development Team Link to comment Share on other sites More sharing options...
ksg Posted August 25, 2007 Author Report Share Posted August 25, 2007 Thanks. I had big trouble setting the $_SESSION variable. Is it possible not to include the header.php file? Ok. Basically, I want to create a minimalistic PHP and MySQL message board.Needed information: login id password email Available functions/preferences: password change post message/poll/survey edit own message/poll/survey search by date, keywords etc. board colours (for self) display names Targeted use: class noticeboard Any php+mysql scripts out there so minimalistic? Quote Hi. Link to comment Share on other sites More sharing options...
ksg Posted August 25, 2007 Author Report Share Posted August 25, 2007 interesting... the edit button flew away... I found this posting script, and found it ok. so if possible, just provide an authentication system. Quote Hi. Link to comment Share on other sites More sharing options...
olajideolaolorun Posted August 26, 2007 Report Share Posted August 26, 2007 There are tons out there.. just do a search on Google. Quote Best Regards Olajide Olaolorun The Uniform Server Development Team Link to comment 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.