Published at: 10:08 pm - Wednesday August 26 2009
The following luhn_check() function is a small JavaScript function which checks whether a number is a valid based on the Luhn algoritm. One common example of use is with credit and debit card numbers. This function may be used to check for valid credit card numbers, however additional checks may be desired, such as card prefix and length checks.
There’s a…
Published at: 10:08 pm - Wednesday August 26 2009
The following luhn_check() function is a small PHP function which checks whether a number is a valid based on the Luhn algorithm. One common example of use is with credit and debit card numbers. This function may be used to check for valid credit card numbers, however additional checks may be desired, such as card prefix and length checks.
<?php
/* Luhn…
Published at: 01:12 pm - Thursday December 18 2008
Well, I said that I’d be using this blog to publish code, so here’s my latest little project.
BBEditor is a free BBCode editor written in JavaScript for HTML/PHP. It’s standards compliant, and really is rather sexy.

Features:
- Easy to integrate
- Cross-browser compliant
- Degrades wonderfully in old or non-compliant browsers
- Sleek code – fast loading, no bulk, no mess
- Easy to style to your needs
- Adding additional buttons and…