Originally Posted by tangoforce
No in your case, the output is the html source from the file including contact.php. ANYTHING that is sent to the browser before a cookie function will screw it up. Cookies are sent in the headers. session_start() sends a cookie so by having your output go to the browser before your call to session_start(), the cookie can't be sent in the headers.
Check the link in my signature for more.
I tried adding the session_state() on my template page before the HTML tag and all it did was move the error to the very top of the page and stop my captcha image from loading.
This is all a bit over my head at this point so I'm just going to scrap the script that I found and look for something different.
Ok, so I got the error to go away, but doing so breaks the form so it does not submit anymore. I'm just giving up on this script...I'll figure something else out.
Thanks for the help you provided.