Richard Lord wrote a good article explaining the various ways of handling dates and times with PHP and MySQL.
Accessing cforms Data Directly
I’m using the cforms plugin on one site at the client’s request, and I needed to access some of the form’s data. Their API didn’t have what I needed, so I thought I’d just query the database directly. But when I looked at the database I didn’t see any tables for it. I thought that […]
Find recently modified files in Linux
This will list all the files on a Linux system that were modified in the past 5 days
find /path/to/start/at -mtime -5 -print
Preloading Images
UPDATE: Now that all modern browsers (that is, everything except IE8 and older) have support for multiple background images via CSS3, that is my preferred method. It’s detailed by Jeff Starr in his post, Better Image Preloading with CSS3. * * * * I’ve been looking for a good way to preload images for rollovers, […]
Finding a string inside multiple files on Linux
Snipplr has a good article on how to find all of the files on a Linux system that contain a specific string.
find /the/path/to/start/at |xargs grep 'the string' -sl
The search will include subfolders.
Installing the Oracle Library for PHP
Chris Sibert wrote a good tutorial on installing the Oracle library for PHP. If you’re running SELinux, I’d recommend temporarily turning it off to get the module setup so you don’t have to worry about problems during the install, and then turn SELinux back on after you verify the module is working. Then you can […]
Domain Name Expiration and Renewal
Mike Davidson has written a good article detailing the sleazy underworld of domain name expiration and renewal.