Jump to content

[SOLVED] im getting a warning, kind of new to this stuff


Capslock

Recommended Posts

I edited some of the address to protect my project

 

I looked online for answers and all im seeing is "it's because of white spaces" I have checked both my php on the mother page, and on the page to include. I can't find any spaces inside or outside the php that shouldn't be there.

 

This is what im getting..

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/marauder/public_html/trial3/securetop.php:8 ) in /home/marauder/public_html/trial3/securetop.php on line 9

 

Can anyone help? (Had to add the space at the end of the first address, the 8 and ) where creating a smilie)

There's a reason why it happened.

 

 

The HTTP protocol's basic layout is:

 

 

 

HEADERS HERE

 

CONTENT HERE

 

 

So if content has already been sent to the client, how is it possible to go back and send a header?  (session_start() sends a cookie header, since cookies are how clients are ID'd with sessions.)

 

 

It's not just some weird problem people get, like it sounds like y'all are making it out to be.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.