New Release: phpSmug 2.0.2

Just a small minor update to phpSmug that resolves the over zealous clearCache() (Ticket #3) and some code tidying to get phpSmug a bit closer to being E_STRICT "compliant" (Ticket #2). Sadly we're still tied by PEAR for full compliance, bit for the moment all the code I have control over works with E_STRICT.

As usual, it's available for download from the download page.

clearCache() is Over Zealous

I've just found another bug (#3 logged) in phpSmug that you should be aware of. The clearCache() function is over zealous when using the filesystem as the cache location. The function deletes ALL files in the specified directory, not just it's own.

This isn't a problem if you've specified a unique directory for caching, but if you're using a shared caching directory, like you may do if including phpSmug in an application, then all the cache files are removed....

Continue Reading »

I'm in the process of creating a project using my phpSmug class and I've discovered I'm not quite 100% PHP5 E_STRICT compliant in two locations in the way I instantiate new PEAR objects:

105         $this->req = new HTTP_Request();
[...]
472         $upload_req = new HTTP_Request();

(105 and 472 are the line numbers.)...

Continue Reading »

New Release: phpSmug 2.0.1

Thanks to MVA for pointing out a rather silly mistake I made in phpSmug 2.0 - I wasn't passing the error code correctly to Exception() on line 350 (Ticket #1).

As this involves something quite crucial, I've released a minor update to rectify this. This is now available for download now.

New Release: phpSmug 2.0

Finally, after 7 months of slow, but steady development, I'm happy to announce phpSmug 2.0 is now available for download.

It's been a long time coming as there has only been one bug reported in the last release, and it wasn't a major issue, and I've been working on consolidating the code to make it more uniform and a lot easier to manage and maintain....

Continue Reading »