Quote Originally Posted by jgarvas View Post
Keepsake: I'm not sure if this is what you intended to do but if you send anything before a session cookie you'll get the errors shown below, and apparently when you require something here it tries to do session cookie stuff. I'm by no means a guru of PHP but I know this much from tinkering.
I did know that much. :) I just didn't realize that the session cookie is sent from the files that are required in the script... To be honest I never even had that problem at all, I never saw that message on my setup, not sure why.

Did the solution you outlined work for you?

I've updated the code again with your suggestions.