Posts tagged as 'PHP'
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…
Posted on 10 January 2008 | 4 comments | continue reading
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…
Posted on 10 October 2007 | 18 comments | continue reading
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…
Posted on 22 February 2007 | no comments | continue reading
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…
Posted on 16 February 2007 | 15 comments | continue reading
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.
Posted on 8 February 2007 | 2 comments | continue reading
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…
Posted on 6 February 2007 | 2 comments | continue reading
PHP mail() function and GMail
or Another reason to avoid PHP’s mail() function…
Posted on 1 December 2006 | 10 comments | continue reading
PHP 5.2 – Nesting level too deep – recursive dependency?
I installed PHP 5.2 on my testing server today and a couple of bits of code that previously worked fine in version 5.1.6 threw fatal errors in the new version. The error message was “Nesting level too deep – recursive dependency?” and it took a little time to track down the root of the problem. Here’s what happened…
Posted on 13 November 2006 | 16 comments | continue reading
