Quantcast
Browsing latest articles
Browse All 2 View Live

Answer by ajreal for Using cURL and HTTP headers to cache an XML feed...

You can touch() the xml file with the timestamp return by strtotime,example :-date_default_timezone_set('Asia/Singapore'); // replace to your timezone$time = strtotime('Wed, 23 Nov 2011 15:49:24...

View Article


Using cURL and HTTP headers to cache an XML feed correctly with PHP

I am using cURL to get an XML feed and save it into an XML file, like soif (file_exists($filename) && (filemtime($filename) > time() - 30)) { // load cached XML from file $output =...

View Article

Browsing latest articles
Browse All 2 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>