hmmm headers and sessions?

swirly

Active Member
Messages
1,930
Reaction score
0
Points
36
Ok well I'm having some problems right now with my site. It's www.freeware.x10hosting.com. Please go there.See the error on the right side? how can I fix that? I've tried a few things but none of them worked. I'll give 35 points to the person that helps me!
 

dest581

New Member
Messages
348
Reaction score
0
Points
0
Include session.php before any HTML is displayed. That way, headers won't already be sent.
 
Last edited:

Chris S

Retired
Messages
2,055
Reaction score
1
Points
38
have you put this in each file?

PHP:
ob_start();
All code goes here
PHP:
ob_end_flush();
 

sk1tL1L

New Member
Messages
59
Reaction score
0
Points
0
make sure that
<?php
session_start();
?>
is on the top of the page. THE VERY TOP OF THE PAGE, BEFORE ANYTHING ELSE. Then Try
 

swirly

Active Member
Messages
1,930
Reaction score
0
Points
36
well the login script isnt mine. i downloaded it. so idk. but ill try these.
 

t2t2t

New Member
Messages
690
Reaction score
0
Points
0
Like everyone else said, remove session_start(); from Login System v.2.0/include/session.php (ps. spaces?!) and put it on top of all pages, even on first line.
 
Top