RFC2822 Date and Time Formats with PHP and MySQL

RFC2822 is an “Internet Messaging Standard” which is used, among other things, as a format within RSS feeds. We are working on incorporating an RSS feed on a client Web site and thus I was looking for a quick way to format a datetime field from a MySQL database for incorporation into the feed. It turns …

Decompressing and extracting tar.gz archives

Tar.gz compressed archives are the most common way that software is distributed for use on Unix/Linux systems. We’ve learned another way to unpack these files from the command line when using Solaris, the distribution that Joyent uses for their shared hosting. For most systems, the command for decompressing and extracting tar.gz files is something like …