J. Cornelius

On php

Smarty Widgets - March 15, 2006 - 11:31:44 PM

PHP and Smarty Search Bookmarklets Do you ever want a quick way to search PHP or Smarty Documentation for a function? Here it is! Just drag this link to your browsers bookmarks (or links) toolbar and voila! Search PHP.net Search Smarty Docs Modifiers to Make Life Easier These simple Smarty modifiers have made life easier for me. The use them just save the... continue »

Website and MySQL Monitoring - March 15, 2006 - 11:24:38 PM

siteWatcher is an easy way to check if your Websites and MySQL databases are up and running. It runs on a schedule you set and simply checks your websites for content you specify and notifies you by email if that content is not found. You can also use it to check connectivity to MySQL databases. To setup siteWatcher all you need to do is download the PHP file, put it on your server... continue »

Bulk Zone File Maker - May 22, 2005 - 01:49:54 AM

If you've ever had to create a bunch of zone files for a bunch of domains you know it can be a pain. Should you ever find yourself in that dark hole again use this. It is a quick and simple DNS Zone File creator for BIND. It takes an array of domain names, creates zone files and adds the zones to your master BIND configuration. All you need to do is put the domains in the array and restart... continue »

Credit Card Obfuscation in PHP - February 2, 2005 - 06:10:16 AM

Recently while writing some billing functions I came across the need to show customers the credit card number on file for their account. Since most people would freak out if I showed them the entire number I had to make a quick function to obfuscate the number and let them know what type of card they previously used. Here is a quick way to do just that. This function is super easy to use... continue »

Converting Seconds in PHP - January 14, 2004 - 10:48:51 AM

All of the conversion functions that I found seemed really bloated. Here is a nice clean way to convert seconds to a more user friendly hour:minute:seconds format. This example takes the current Unix time and converts it to the desired format. Of course you can use this for just about any application that requires you to convert seconds to a more readable format. $seconds = time(); $time =... continue »

About

J Cornelius is a software developer, Web developer, and Formula 1 fan in Atlanta GA. He has a strange affinity for odd numbers, european sports cars, thoughtful analogies, and is hopelessly addicted to chips & salsa. Read more