Clear Cache in php

23 views

How to Clear Cache in php using header();

  1. header(‘Expires: Mon, 26 Jul 1997 05:00:00 GMT’);
  2. header(‘Last-Modified: ‘ . gmdate(‘D, d M Y H:i:s’) . ‘ GMT’);
  3. header(‘Cache-Control: no-store, no-cache, must-revalidate’);
  4. header(‘Cache-Control: post-check=0, pre-check=0′, false);
  5. header(‘Pragma: no-cache’);



« CHMOD Command For Files & Directory Permission jQuery ajax »
Posted on Monday, April 6th, 2009 at 12:30 pm under PHP Script | RSS 2.0 Feed

Post Comment

You must be logged in to post a comment.



ComputerEducationWorld.com All Rights Reserved © RSS | CBSE | Education Boards Of India | What is My IP?