Full Disclosure mailing list archives

b62.inc


From: Larry Hand <lhand () co la ca us>
Date: Fri, 12 Sep 2003 09:39:19 -0700

To use the base 62 routines:
...
<!-- #include file ="includes/b62.inc" -->
...
Dim b62         ' base 62 conversion object
...
'Create the b62 object
Set b62 = New B62Conversion
...
s19_digit_number = b62.b62toUID(s10_digit_id) ' Convert to user readable form
...
s10_digit_id = b62.UIDtoB62(s19_digit_number) ' Convert to database format
...

Hope this helps.

Attachment: b62.inc
Description: base 62 vbscript include file


Current thread: