could someone explain what this bit of code does please...
if (!preg_match("/^".$thumbname."/",$item))
Determines if $item begins with $thumbname.
Same as, but probably slower than this:
if(substr($item,0,strlen($thumbname)) == $thumbname)
-- ---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php