So while I was at it made this PHP urlEncode urlDecode Tool because I keep forgetting to bookmark other sites’ urlencode/urldecoders. Also because the Mac version of Hackbar in Firefox doesn’t have the same options as the Window’s version.
12
2009
PHP TimeDiff Tool
I needed to send an email with human readable string of the difference between two timestamps, so I made this little tool:
03
2009
Well-Intentioned Destruction
A friend at work forwarded me this article from 2007 titled Well-Intentioned Destruction. Its a great article about maintaining legacy code and debugging a serious problem with seamingly random data deletes.
20
2009
Update PHP Tools page
I updated my tools page. The php timestamp converter tool has been updated to use timezone_identifiers_list() (i.e. ‘America/New_York’), now instead of hard-coded offsets.
Also moved all the scripts into one directory here.
When I get bored again I’ll add some more. I actually use these from work so it’s really just a convenience for me.
02
2009
PHP 5.2.9 maybe released but still waiting for 5.3.0
I really wish they put dynamic static binding into 5.2.9, but they did not. Nothing too impressive in the changelog, but might as well upgrade to the newest version anyway.
I’m going to wait though, right about to release and adding a version change near the end of a release cycle is too risky I’d say.
21
2009
Zend_Acl – Resource / Role / Privilege Viewer?
Today at work I made a Zend_Acl – Resource / Role / Privilege Viewer that I wish I could share, but can’t. Pretty straight forward, globs the resources by their file names and instantiates all the roles on another glob. Overrode the allow/deny in Zend_Acl to save the privileges and then use that to display a table of all the isAllowed calls for a specific resource for all the roles for their privileges.
Was looking around to see if there are any open-sourced projects and didn’t find any.