I am writing a website and i have a user login system. I am sending out alot of headers. I have a functions.inc page wich is where i write all the script then on the individual pags i just use function() and reference the specific function. However, i am encountering alot of headers already sent errors.
Does anybody have a better solution for this or can help me on a better way to layout my code?
I thought about ob_start(); but i can't figure out how to use it.
Any help you can provide would be awsome.
Thank you
Anthony