Let me setup a scenario. You have a Windows Azure Storage Table with a column called PartitionKey that is a series of numbers that are timestamps. You are testing your code to retrieve all timestamps greater than X in order to perform time based data calculations. Being smart you try “PartitionKey gt 1”, because 065983400000
Converting DateTime.Ticks to a Unix timestamp and back in PHP
I recently found out that the DateTime library in C# provides the ability for much higher resolution of time compared to the PHP date time function. While PHP can go down to an impressive microsecond, C# can go all the way down to nanoseconds. Though I am still skeptical that it can actually calculate that
Ease your Windows Azure PHP development in Windows with a build script
Update (04-30-2012): Since being featured on the Windows Azure blog for my WordPress post the hits to this post have exploded. Automated deployment is a hot issue with Windows Azure, however this is probably not the post you are looking for as it deals with the outdated command-line tools project, which has been officially depreciated.
Watch out for Base 64 Hacks!
I recently had a client call me and tell me their site was linking to a spam site from a Google search. Turns out that searching for their company name from several major search engines took users to the spam site, however typing the URL in directly revealed the site properly. After a bit of
PHP: Autoloader
SirGecko just released the first version of their PHP Autoloader. This auto loader is great because I can use it in any of my PHP projects and no longer have to keep track of and/or require() my objects. I simply drop this auto loader into my project, setup the directories my classes are in in