PHP Developer - June 26th, 2006
Alright Joomla! users, listen up - if you’ve applied the patch, you’re fine, go back to surfing. If you’re clueless to what patch I’m talking about (or just haven’t bothered to upgrade yet), don’t wait another second. Grab it and upgrade now!
All existing Joomla! users MUST UPGRADE to this version, due to several High Level vulnerabilities that affect ALL Previous versions of Joomla!
1.0.10 contains the following important security fixes:
- 03 High Level Security Fixes
- 01 Medium Level Security Fixes
- 05 Low Level security
- 40+ General bug fixes
If you are using ANY previous version of Joomla!, you need to upgrade to 1.0.10. 1.0.10 is available as a Full Package, which contains all Joomla! files and Patch Packages which contain only the files that have been changed by the Stability work conducted from previous Joomla! 1.0.x versions.
For details on the fixes and more links to download the patch, check out this page on the Joomla! site.
Continue Reading ·
PHP Developer - June 26th, 2006
Alexander Netkachev has posted this quick tutorial with a few examples he’s made for extending the Zend_Db_Table class from the Zend Framework.
He sets up the situation (complete with database table) and explains the creations of a “Users” extension to the Zend_Db_Table class. He shows how to set it up to work with your table name, and how to create a new user with the sample table provided.
He also demonstrates a simple validation wrapper around the functionality just to ensure that invalid data isn’t passed in.
Continue Reading ·
PHP Developer - June 26th, 2006
DevShed has posted part three of their “working with SImpleXML in PHP5″ series today, focusing this time on the searching and replacing of nodes within a loaded XML string.
So far, the couple of functions that I mentioned before actually do a good job of parsing simple XML files and strings. However, the “simpleXML” library has a few additional handy functions that I’d like to show you in this last tutorial. That said, in the next few lines, I’ll be covering these functions, in order to demonstrate how to quickly search and replace nodes within XML data strings.
They start with some node comparison and locating the nodes inside of the XML (with a little help from XPath). Once they’re found, they show how to replace the node itself with the asXML method PHP provides. Finally, they give a more “real life” example of how to blend it all together.
Continue Reading ·
PHP Developer - June 26th, 2006
Over on SitePoint.com today, there’s a new tutorial demonstrating an alternative to the usual GD library examples of working with images, opting instead for ImageMagick.
The key component for making dynamic images a reality on your site is an image manipulation program that’s controlled by the code that generates your web pages. Even though this article uses PHP as the scripting language, other languages — such as Perl and Ruby — can be used just as easily, provided that the image manipulation program that you’re considering has an application programming interface (API) for the chosen language.
He decided on ImageMagick for a few reasons, including that it’s more supported by web hosts, it runs on Windows and Linux, and it’s robust and powerful enough to handle everything from small to large tasks without missing a beat.
That said, he gets into the code, showing how a bit of PHP code can read in an image and spit back out information about it (height, width, etc), force a reduction of an uploaded image, scale down an image to fit a certian size, change it to a different type of image, and image rotation.
Continue Reading ·