$title="Publications › Photos"; $subtitle="Random snaps of real life."; $page="photos"; include('/var/www/vhosts/simplebits.com/httpdocs/templates/top.html'); ?>
I occassionally post photos taken with this camera (January 2005 and later) or this camera (prior to January 2005). Choose a slideshow in the right column or one of the last 12 daily photos below to enlarge and view at full size.
I also stream photos to Flickr.
$curl_handle = curl_init(); // Where should we get the data? curl_setopt ($curl_handle, CURLOPT_URL, 'http://www.simplebits.com/cgi-bin/photos.pl'); // This says not to dump it directly to the output stream, but instead // have it return as a string. curl_setopt ($curl_handle, CURLOPT_RETURNTRANSFER, 1); // the following is optional, but you should consider setting it // anyway. It prevents your page from hanging if the remote site is // down. curl_setopt ($curl_handle, CURLOPT_CONNECTTIMEOUT, 1); // Now, YOU make the call. $buffer = curl_exec($curl_handle); // And tell it to shut down (when your done. You can always make more // calls if you want.) curl_close($curl_handle); // This is where iĠd probably do some extra checks on what i just got. // Paranoia pays dividends. print $buffer; ?> include('/var/www/vhosts/simplebits.com/httpdocs/templates/bottom.html'); ?>