I have a small problem that is causing yet more greyness.
I have a main index web page. In the head of this page I have a small script that reads, increments by one, and then sets a cookie. (just a simple visits per browser script)
Also within the page I have an include statement
include $select.".php";
so I can include a selected page (#?select=home .. etc)
What I have noticed is that when the page included contains a reference to a style (eg <span class="mystyle"></span>) the counter increments twice. This along with other clues suggests the headers are read twice.
If the included page is plain classless text it increments once as it should.
Does anyone understand what is happening and how to prevent this?
Thanks ... Fizz