Posts filed under 'PHP Development'

If you want to create AVM2 swfs from PHP

If you want to create AVM2 (Actionscript 3) swfs from PHP then this file may be useful. It creates the number formats used in AVM2 swfs. I created these functions for the SWX project and am releasing the code under the MIT licence so it can be used in other projects too…

PHP Password Security

If you build websites that require users to register it’s your responsibility to keep their passwords safe. And if you’re storing the passwords in plain text then you’re not doing your job properly. What happens if your database is stolen? It’s not just your site that is compromised. Since most users use the same password on multiple sites, all those sites have also been compromised…

Software Best Practices

It’s great to see that Construx Software have started blogging. For those that don’t know, Construx was founded by Steve McConnell, author of a number of books including the excellent “Code Complete” and “Professional Software Development”.

The new blogs cover a range of information related to software development and project management. If you’re a developer, project manager or even CEO and you’re interested in improving the way you develop software there’s a number of gems on these blogs already. So go take a look.

New Wishlist site

I’ve been posting a lot about the Zend Framework recently. That’s because I’ve been using it in building a new version of my wishlist site. The new site is called One Wishlist and is at onewishlist.net

Managing 404 errors in the Zend Framework

In the Zend Framework there’s no obvious way to deal with all page not found errors in one place, including instances where the controller doesn’t exist and where the action doesn’t exist. In this post I show the code for a Zend Framework plug-in to handle all 404 errors in one place only, automatically displaying the 404 error page if the Controller or Action aren’t defined…

Zend_View helpers in include path

I’m using the Zend Framework at the moment and came across a problem with creating custom helpers for the Zend_View class. All is fine if you place your helpers either within the zend framework’s own helpers folder (not a good idea) or within a directory in your site structure. The problem arises if you place the helpers in a folder in the PHP include path and don’t know the full path to the folder.

Why I like the Zend Framework

I’ve been researching the Zend Framework for PHP in relation to a project I’m working on and I have to say I’m now a fan of it. There’s lots to like about it, and some to dislike about it too…

PHP mail() function and GMail

or Another reason to avoid PHP’s mail() function…

previous posts