Posted By

simondiercks on 02/03/11


Tagged

php header json


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

crutzdesigns
wirenaught


PHP JSON Headers


 / Published in: PHP
 

  1. header('Cache-Control: no-cache, must-revalidate');
  2. header('Expires: '.date('r',time()-86400));
  3. header('Content-type: application/json');

Report this snippet  

You need to login to post a comment.