Corey Bryant

msg:3410910 | 8:22 pm on Aug 1, 2007 (gmt 0) |
Did you check the contributions on osCommerce? -Corey
|
RonSolo

msg:3410922 | 8:39 pm on Aug 1, 2007 (gmt 0) |
Hi Corey. We already have our own site/system where we can create discount coupons, but we have to come up with our own code ID's. I'm looking for a small program or script that will simply generate random (alphanumeric) ID's for our coupons. Kind of like those Lottery number generators... - Ron
|
Marshall

msg:3410927 | 8:46 pm on Aug 1, 2007 (gmt 0) |
Is this for people to use the coupon or for your records? You code generate a session ID for each coupon. I don't know the code for PHP, but in ASP it's <% Response.Write(Session.SessionID) %> Marshall
|
RonSolo

msg:3410944 | 9:06 pm on Aug 1, 2007 (gmt 0) |
As it is now, I create the coupon in our system to give out (or advertise) to our customers. The coupon ID is the "code" that the customer will enter to receive their discount. And, right now, I have to manually come up with the code ID every time I create a coupon. For example, "ABC123" is the ID for a coupon offering 10% off. Sure...it's not a big deal to make these up myself. I was just curious if there was something out there to create an ID randomly. - Ron
|
Gibble

msg:3410954 | 9:24 pm on Aug 1, 2007 (gmt 0) |
Just do a quick search for a password generator script, or alpha numeric generator script. You should get tons of results.
|
RonSolo

msg:3410969 | 9:37 pm on Aug 1, 2007 (gmt 0) |
Thanks, Gibble! You're right, there's quite a few. I should have been thinking "password" and not "coupon". - Ron
|
|