Takazudo
7/6/2011 - 6:56 AM

simulate delayed json response with php

simulate delayed json response with php

<?php
header('Cache-Control: no-cache, must-revalidate');
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Content-type: application/json; charset=utf-8');
sleep(1);
readfile('amazonresult.json')
?>