mattVo Posted September 15, 2010 Share Posted September 15, 2010 Hi all, I would need some advice on the best way to implement an exclusive section in a website. We will be generating say 10,000 unique numbers and sending a unique one to each of our customers. Said customer will enter that number on the site and will be granted access to an exclusive section. How would I validate each number? Do I import those 10,000 numbers in mysql and check if an entered number exists? Or can I simply use a textfile as a database with all those numbers? Are there any solutions for this already made? Thanks in advance! Link to comment https://forums.phpfreaks.com/topic/213484-exclusive-content/ Share on other sites More sharing options...
litebearer Posted September 15, 2010 Share Posted September 15, 2010 1. use database 2. rather than numbers perhaps unique passwords Link to comment https://forums.phpfreaks.com/topic/213484-exclusive-content/#findComment-1111344 Share on other sites More sharing options...
mattVo Posted September 15, 2010 Author Share Posted September 15, 2010 So a mysql database and a check to see if the number exists. Passwords or numbers, same thing, no? Link to comment https://forums.phpfreaks.com/topic/213484-exclusive-content/#findComment-1111350 Share on other sites More sharing options...
litebearer Posted September 15, 2010 Share Posted September 15, 2010 password could enclude uppercase, lowercase, numbers and perhaps some symbols - when hashed much more secure Link to comment https://forums.phpfreaks.com/topic/213484-exclusive-content/#findComment-1111365 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.