Hi Terje,
Well, I will explain you. In my system I have 2 kinds of layout. A normal layout and a popup. I need make a header("Pragma: no-cache") just in the popups.
Well, I can pass a flag to popup, but there are about 50 different popups, and just NOW i've noted I gotta do this.
All my popups do this:
<?PHP
include ("x.php");
...........
And the normal layouts do this:
<?PHP
include ("c.php");
include ("x.php");
...........
I will put the header("Pragma: no-cache") in x.php.
x.php:
<?PHP
isset($flag) or header("Pragma: no-cache");
................
But before this line I was thinking do somethig like:
$flag = it_was_any_char_sent();
I know it is a little confuse. Sorry. I hope you understand.
Thanks!