Jump to content

Sessions


torque
 Share

Recommended Posts

I have an empty array:Array()Warning: Cannot modify header information - headers already sent by (output started at /usr/local/4admin/apache/vhosts/w.com/httpdocs/s.php:2) in /usr/local/4admin/apache/vhosts/w.com/httpdocs/s.php on line 8I am really not clear about the output started with s.php:2What does that actually mean please?

Link to comment
Share on other sites

if you are using session_start() make sure it is at the top of your page. (no whitespace etc, you get the idea. the VERY top)You can also get this error (i think) if you use the header function multiple times or incorrectly.header function: http://au2.php.net/manual/en/function.header.php.I think the error message means, output started from s.php, line 2. Headers are sent again in that same file, line 8, so check those lines and see what you've got there..EDIT: Nevermind, seems like you figured it out :)

Edited by Reiyan
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...