staticbits.thefnf.org/fnf2014/js/jsor-jcarousel-7bb2e0a/examples/dynamic_flickr_feed.php
2022-09-27 00:51:15 -05:00

14 lines
330 B
PHP

<?php
header('Content-type: application/json; charset: utf-'.'8');
//header('Cache-Control: must-revalidate');
$url = 'http://api.flickr.com/services/feeds/photos_public.gne?format=json&nojsoncallback=1';
if (!empty($_REQUEST['tags'])) {
$url .= '&tags=' . urlencode($_REQUEST['tags']);
}
echo file_get_contents($url);
?>