[snip] Nice piece of code -- thanks for providing that. [/snip] You're welcome. It could stand a few small improvements, but I pretty much use it every day. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php