Jump to content

header problems


Kingy

Recommended Posts

ob_start(); sends header information thats why.

 

and what use is this for?

 

ob_start() does not send any headers. It creates a buffer for output to go into, untill that buffer is sent no headers (or output) will be sent either.

 

Output buffering is often used as a hack around header errors.

Link to comment
https://forums.phpfreaks.com/topic/93049-header-problems/#findComment-476713
Share on other sites

The error message contains information about where the output occurred in addition to what code could not output headers. By just posting bits and pieces of the error, just means that it will take a really long time to give you a direct answer that solves your problem.

 

If you are not going to read what the error message states and try to figure out the problem yourself, then you must post the entire error message if you want someone else to help you. xxxxx out any sensitive information such as account/domain name in the file paths if you don't want that information posted.

Link to comment
https://forums.phpfreaks.com/topic/93049-header-problems/#findComment-476847
Share on other sites

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.