comparison php/comment_parser.php @ 2457:d26623bd65e0

Removed browser caching for PHP servers
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Tue, 02 Aug 2016 11:22:51 +0100
parents 760719986df3
children 464c6c6692d6
comparison
equal deleted inserted replaced
2455:17688ed74bed 2457:d26623bd65e0
1 <?php 1 <?php
2 // Comment Parser for PHP 2 // Comment Parser for PHP
3 header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
4 header("Cache-Control: post-check=0, pre-check=0", false);
5 header("Pragma: no-cache");
3 class audioElement { 6 class audioElement {
4 function __construct($id) { 7 function __construct($id) {
5 $this->id = $id; 8 $this->id = $id;
6 $this->comments = array(); 9 $this->comments = array();
7 } 10 }