I've used the header to print out Meta tags. That code with the meta worked just fine.
I did use what you suggested and I got an error: "[an error occurred while processing this directive]" and yes the script was the first thing to send out. I dunno what else it could be. I guess I'll scrap it and work it another way...