daniel-linux Posted June 19, 2009 Share Posted June 19, 2009 Dear all, I would like some ideas here in how to solve this problem. ??? We have a website where we will make available a lot of pdf to download. Now my boss wishes that when someone wants to download a pdf, they must fill a simple form (name, email, country) than the download will be available. But : - these downloads are spread in several pages. - our website is really simple, just xhmtl and css. - we just want the client to do the register once. Please, any idea how should we approach this in a simple way will be appreciate. Thanks, Daniel Quote Link to comment https://forums.phpfreaks.com/topic/162894-really-really-simple-login-system-for-downloads/ Share on other sites More sharing options...
RussellReal Posted June 19, 2009 Share Posted June 19, 2009 Hey, I could do this for you, $60, however, if you want to jump right in and go for it yourself, you might want a database table full of urls linking to the certain file, and use a session to store the user's download attempts, with an if statement you'd check whether or not your user has attempted to download that file's ID, if he has than don't bother checking his email, country, name, BUT if he HASN'T push the form on him, and on submit if the data passes, push teh data. Quote Link to comment https://forums.phpfreaks.com/topic/162894-really-really-simple-login-system-for-downloads/#findComment-859596 Share on other sites More sharing options...
daniel-linux Posted June 22, 2009 Author Share Posted June 22, 2009 Thanks for the insight. Let me see what I can do here. hehehheh heheheh Quote Link to comment https://forums.phpfreaks.com/topic/162894-really-really-simple-login-system-for-downloads/#findComment-861030 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.