The levenshtein() function in PHP is a fairly uncommon function and is unknown to most coders, however, this function is a very cool and powerful function that has many uses and is VERY handy! Today, I am going to show you how to use it and what it can do by making a simple, yet powerful, word suggestion tool.

Read more…

Anyone who owns a website knows that stats are important. If you’re like me you like to know how many visitors your site is getting and what kind of bandwidth your using. With AWStats you can get comprehensive reports of your user statistics but I don’t want to have to go through my Control Panel and open AWStats everyday to see how many visitors my site has gotten. To make it easier I created this little script to automatically grab my AWStats data and display it in a neat and orderly way.
Read more…

Recently I had a problem where I was trying to figure out how to monitor a site for new content or changes in current content. The problem was the site didn’t have an RSS or Atom feed or anything similar to monitor it automatically via a simple PHP script or similar method so I had to come up with this method to monitor a site for changes.

As I sat and thought about it I realized there were couple ways to achieve this level of monitoring I was looking for. One method I came up with was to grab the entire contents of the page and cache it in a text file then periodically grab the page and compare the data to the cached version. This solution although it would work just fine was a little more trouble and effort than I wanted ;) .

Read more…

In this little tutorial/showcase I will show you how to make a cool forum signature (sig) that contains your blogs latest posts. It will automatically update itself every time you post new content!

Read more…