A workaround would be to get used to adding a include file at the top of all your pages.
Call it globals.inc or something and include db connection, webmaster email, standard functions, etc.etc.
I have that, and it looks like the httpd.conf used in Apache. With nice comments and simple structure.
Make sure you don't use any 'echo' or 'print' in that file! Otherwise you won't be able to use header in your pages.