Blog Posts

Drop all tables in MYSQL

Nov 7, 2007 - Elliott Brueggeman
Today during the course of some work, I came across a situation where I had to delete all tables from a MySQL database.

Using date objects in PHP 5

Nov 4, 2007 - Elliott Brueggeman
If you’re a seasoned PHP developer, and you initially learned PHP a few years ago, you may not be familiar with the new functions that PHP 5 (5.1+) provides for date manipulation.

Storing IP Addresses in MYSQL

Oct 1, 2007 - Elliott Brueggeman
Planning on storing IP addresses in MYSQL or any other similar database for your PHP application? If you are like most, you probably were thinking of storing the IP addresses as strings in a varchar(15) row. Well, there actually is a much faster and more efficient way of storing IP addresses.

Simple SEO Workshop: Improve Your Search Rankings

Sep 4, 2007 - Elliott Brueggeman
One of the most important, but also most mysterious aspects of web design is SEO, or Search Engine Optimization. In a nutshell, Search Engine Optimization helps your site rank higher in the search results pages which translates to more visitors.

PHP Image Optimization

Jul 22, 2007 - Elliott Brueggeman
Background PHP has the built in ability to optimize images which can be very useful in web development.

PHP Execution Time Class

Jul 9, 2007 - Elliott Brueggeman
The Basics Ever wanted to benchmark certain code segments, actions, or the exeuction of your entire script in PHP? Knowing the execution time of different parts of your code is very valuable information.

Remote file access script with fopen() and file_get_contents()

Jun 30, 2007 - Elliott Brueggeman
The Basics This is an example object-oriented PHP class for remote file access that works with older versions of PHP and has simple error management. You can open a remote website (ex. ""), an xml feed (ex. ""), or even a local file (ex.

Image Optimization

Jun 24, 2007 - Elliott Brueggeman
Overview Not having to do specifically with the design of the website, image optimization is often overlooked by web designers.

Object Oriented PHP Counter

Jun 19, 2007 - Elliott Brueggeman
The Basics A more advanced version of our PHP Counter, this script is object oriented and remembers return visitors by setting a cookie.

PHP Site Access Log

Jun 16, 2007 - Elliott Brueggeman
The Basics The question is, why do you need a site access log? The answer is easy - to see who visits your site. If you are a site owner and you have a hosted web site, you probably have seen web stats of some kind compiled by your hosting company. How do they do it?