Always php updated page but without error_log on server, is it possible with stackoverflow code?
<p><strong>Hello to all,</strong></p>

<p>I had a browser that does not update the content of a website so I asked for help on a forum and someone suggested to use this code:</p>

<pre><code>header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Cache-Control: no-cache");
header("Pragma: no-cache");
</code></pre>

<p>When I work on XAMPP I have not problem but when i use a real hosting I get a file named "error_log" that fills the Following lines of code:</p>

<pre><code>[15-Mar-2016 02:21:25 Europe/Berlin] PHP Warning:  Cannot modify header information - headers already sent by (output started at /…/index.php:1) in /…/index.php on line 3
[15-Mar-2016 02:21:25 Europe/Berlin] PHP Warning:  Cannot modify header information - headers already sent by (output started at /…/index.php:1) in /…/index.php on line 4
[15-Mar-2016 02:21:25 Europe/Berlin] PHP Warning:  Cannot modify header information - headers already sent by (output started at /…/index.php:1) in /…/index.php on line 5
</code></pre>

<p>I wish the browser That did not keep the memory of the index.php page and That my server does not write error_log file. How can I do? Is there a solution?</p>

<p><strong>Thank you</strong></p>