A client wanted me to implement a drop down contact form that was triggered when the cursor hovered over a button in the site’s navigation. This was no problem, and I delivered some code using script.aculo.us‘s blind effect. A few hours later, the client contacted me and said that as he moved his cursor around [...]

Read more...

This post explains how to set up an IIS 5.1 server on your home network for serving web pages, and then add it to your Workgroup so you can edit those pages from a different PC without the need for an FTP server and client. You’ll need a PC running Windows 2000, XP Professional, or [...]

Read more...

This script converts a Unix timestamp (Seconds since the Unix Epoch (January 1 1970 00:00:00 GMT)) to the International Standard ISO 8601 date and time notation (YYYY-MM-DD hh:mm:ss) and vice versa. I find it useful for verifying datetimes. Date Time Convert

Read more...

A PHP script to protect a download by generating a unique link. Each time you visit a page, a unique link is created that can be shared. The link will expire after a certain amount of time or number of uses. With some work, this could be integrated with your Paypal “thank you” page.

Read more...

A simple web page that you can use for testing a MySQL database connection.

Read more...

A repository for troubleshooting responses to some common Help Desk calls regarding GroupWise, Word, Excel, PowerPoint, Acrobat, Internet Explorer, and an assortment of other applications and hardware.

Read more...

Here’s how I’m implementing my solution to the lost update concurrency issue by comparing timestamps generated when a record is saved and accessed.

Read more...

In this post, I’ll illustrate how to use the IP-to-Country database available from http://ip-to-country.webhosting.info/ to identify the real-world geographic location of visitors to a web page (geolocate) based on their IP addresses. Once you know where a visitor is physically located, you can do all sorts of nifty things, such as send them location-aware content [...]

Read more...

The method described in this post uses PHP to generate the timestamps. If your site is using a caching plugin, the timestamps will be stale, and this method will not work. I’m working on a new method using JavaScript for sites that use page caching. In this post, I’ll explain how to reduce the amount [...]

Read more...

This is a collection of php code snippets that seem to come in handy rather often. They are assembled here more for my own organization than anything else.

Read more...