Jim, What does the "encodeModulo" method do? I can't find it in the example and I don't think that's a "generic" function.
....................... Ben Nadel www.bennadel.com -----Original Message----- From: Jim Priest [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 25, 2006 2:51 PM To: CF-Talk Subject: coupons inc script - convert VB to CF UDF I'm working on a project where I need to send people to Coupons Inc to get a coupon. They provided an alogrithm which generates a key used in a URL which allows tracking, etc. They provided an example VB script which would generate this key when passed a few variables. I've tried to recreate it in CF but so far have had no luck making it work. It generates a string but not with the correct characters... If anyone's bored and would care to take a look I posted the two code blocks here: http://www.clickculture.com/example.txt If I can get it working I'll post it to the UDF Library as well as send it to Coupons Inc so they can have it on hand and include it in their examples. Thanks, Jim ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238717 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

