How to capture user details when downloading files?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
oggsey
Forum Newbie
Posts: 1
Joined: Tue Apr 14, 2009 4:41 am

How to capture user details when downloading files?

Post by oggsey »

Hi,

I have a very simple php/css website and will be publishing high value documents, in PDF format.

I would like to publish the urls of files to my customers that they can download but before they do I want them to complete a small form with their details, name and email etc before they download the file.

The basic requirement is when they click the link, it takes them to a page. Calls a PHP function that presents a form, they enter their details, press submit, file download begins.

Can anyone point me in the right direction please?

Thanks in advance.
Paul
Post Reply