Archive for the ‘Web Development’ Category

Luhn Algorithm Validation in VBScript (ASP)

Wednesday, February 11th, 2009

The Luhn Algorithm is a simple checksum formula that is used to verify a variety of different numbers including most credit cards. Outside of verifying funds it provides the most accurate means of verifying credit card numbers by preventing typographical errors.

How to Test IIS SMTP Service

Tuesday, January 20th, 2009

When creating web pages and WSH scripts that send email it sometimes necessary to test the IIS SMTP service to ensure that it is properly handling and sending email. The technique I’ll be demonstrating today can be used locally or for testing the SMTP service on a remote server.

MySQL Table Prefix Changer Tool

Thursday, January 1st, 2009

In early 2008, I created a simple PHP driven tool for changing the prefix on a MySQL table. The was originally designed to change the default prefix used by phpBB installations to help prevent SQL injection attacks. The tool has gained quite a bit of popularity and I’ve been receiving a lot of […]

Alternate Sleep Function for ASP, HTA, WSC, etc.

Wednesday, December 31st, 2008

Many scripters have gotten all too used to using the WScript object’s Sleep method for pausing or delaying script execution. Since this object isn’t available in ASP, Windows Script Components, or HTML Applications, programmers are required to create viable alternatives.

Using .htaccess to Parse HTML Files as PHP

Friday, October 10th, 2008

I receive this question quite frequently by readers who want to know how to configure Apache to treat HTML files as if they were PHP. Parsing HTML files as PHP can be quite handy if you have a current HTML site that you’re moving over to PHP and you don’t want to have to […]

Dynamic Image Creation to replace Font Embedding

Monday, November 5th, 2007

One major caveat for most web developers is the font limitations you encounter on the web. Browsers can only display specific registered fonts because of the differences between browsers and platforms. There’s no way to bridge this gap and forcing visitors to download and install specialized fonts before viewing your site is not […]