Posted By

sveggiani on 10/30/09


Tagged


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

aleksanderek


set header expiration date for a http request


 / Published in: PHP
 

  1. <?php // utf-8 script áéççÁ
  2. header("Expires: " . date("r", time() + ( 60 * 60 * 24 * 5 * 1 ) ) ); // 5 días
  3. header("Content-Type: application/x-javascript");
  4. ?>

Report this snippet  

You need to login to post a comment.