Jump to content

really really simple login system for downloads.


daniel-linux

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.