linea21-utils
[ class tree: linea21-utils ] [ index: linea21-utils ] [ all elements ]

Source for file no_cache.php

Documentation is available at no_cache.php

  1. <?php
  2. /**
  3.  * @package linea21.utils
  4.  * @subpackage lib
  5.  * @author linea21 <info@linea21.com>
  6.  * @version $id SVN
  7.  * @access public
  8.  * @license http://opensource.org/licenses/gpl-3.0.html
  9.  */
  10.  
  11. //////////////////////////////////
  12. ///     Envoie d'entête de no-cache
  13. //////////////////////////////////
  14. header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");             // Date du passé
  15. header("Last-Modified: " gmdate("D, d M Y H:i:s"" GMT")// toujours modifié
  16. header("Cache-Control: no-cache, must-revalidate");           // HTTP/1.1
  17. header("Pragma: no-cache");                                   // HTTP/1.0
  18. ?>

Documentation generated on Thu, 20 Mar 2014 16:49:16 +0100 by phpDocumentor 1.4.1