SkyRanger Posted May 2, 2007 Share Posted May 2, 2007 I am about to start a new project, but not sure exactly where to start on this and was wondering if anybody has any ideas where I can find examples on how this is done. This is what I am trying to do: Already have this part done: Upload file What I am trying to do is limit uploads based on a pin number. When somebody enters a certain pin number they can upload a file but after the upload is completed the pin is removed so it cannot be used again. Is there any examples out there or tutorials on how to do this. I have been searching for the last couple of hours with little success. Link to comment https://forums.phpfreaks.com/topic/49678-solved-limit-based-on-pin/ Share on other sites More sharing options...
clown[NOR] Posted May 2, 2007 Share Posted May 2, 2007 what you can do is use rand() store the number to a database and then when you want to create a new pin you can go trough the DB a check if it's been used allready Link to comment https://forums.phpfreaks.com/topic/49678-solved-limit-based-on-pin/#findComment-243568 Share on other sites More sharing options...
SkyRanger Posted May 2, 2007 Author Share Posted May 2, 2007 Got it, thanks Link to comment https://forums.phpfreaks.com/topic/49678-solved-limit-based-on-pin/#findComment-243603 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.