So I would strongly advise against using the latter type of coupon codes just on the basis that they "look cool". ![]() But even if they are randomly-generated nonsense phrases, the fact that the characters follow a logical pattern still makes it much more user-friendly than something like R7QZ8A92F1. Also PHP is currently one of the most popular web frameworks all over the world. Some of these are obviously human-created (which you might want to have the option of), but they can also be generated using a dictionary list. PHP Code Generator Generate Code in PHP and Produce More Code There are plenty of frameworks in PHP such as Laravel, Symfony, CodeIgniter, Zend, Cake and others. Companies like Dreamhost use these for their promo codes, e.g.: Promo60 Optionally, if you have different types of coupons, you could prefix the codes with something, e.g.: CX00019 QZ0001CĪlternately, you could even use dictionary words in the coupon, as such coupon codes are easier to remember and faster for users to type. ![]() ![]() I would just use incremental IDs, such as those generated by whatever RDBMS you use. If there are no security requirements for these, then you don't really need randomly generated codes.
0 Comments
Leave a Reply. |