This new version of phpFlickr has a few bug fixes, as well as an up-to-date method list. You'll also find that buildPhotoURL supports the new syntax for photo URLs, including the new originalsecret property and the new farm property. If you find any bugs, feel free to leave a comment here and I'll try to fix them as quickly as possible. If Flickr puts out a new API method, don't forget that you can use the call() method to call the method.
Head over to the phpFlickr download page on SourceForge to get the latest file release.
require_once 'PEAR.php';new code:if(!class_exists("PEAR")) require_once 'PEAR.php';I thought perhaps you could add this to the next version of your library. Thanks again for all your hard work.That's a good point about the require_once calls. The problem, I realized, is that if you're including the same files from multiple locations, the "require_once" checks don't recognize them as the same file. Plugin developers should also use the class_exists function when they're including phpFlickr.php or it could try to load that class twice.