eciym Posted March 5, 2007 Share Posted March 5, 2007 Hi, i am getting this error message, however there are no spaces at the beginning or the end of my pages. What other reasons can there be for such a message? I am most interested to know what this part of the error message means ".php:37" Warning: Cannot modify header information - headers already sent by (output started at /home/jasmin/domains/talaatthai.se/public_html/member_class.php:37) in /home/jasmin/domains/talaatthai.se/public_html/member_class.php on line 99 Thanks Link to comment https://forums.phpfreaks.com/topic/41228-php37/ Share on other sites More sharing options...
mmarif4u Posted March 5, 2007 Share Posted March 5, 2007 Header already sent: This is bcoz u have i think space between start php and sessions, LIke: <?php session_start(); some code ?> do it like this: <?php session_start(); ?> Link to comment https://forums.phpfreaks.com/topic/41228-php37/#findComment-199701 Share on other sites More sharing options...
jeeva Posted March 5, 2007 Share Posted March 5, 2007 otherwise use ob_start() on the first line of the code Link to comment https://forums.phpfreaks.com/topic/41228-php37/#findComment-199702 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.