Right, beginner here so bare with me..
What i've got: A simple html/css website with a page where clients can find informative documents in the form of PDF's and rich text documents, they can just click the link to download the documents as desired.
What the website owner wants: When the client/user selects a document to download, a form appears asking them to input their personal or company name and submit before allowing them to download as normal. This information, who downloaded what and when, should be emailed to the website owner or possibly logged in a hidden site page.
I've never done any server-side scripting but i'm happy to learn. (I'm no professional, just throwing this together for a family friend according to their specifications). The reason i gave up googling temporarily and came here is that with all the different possible approaches and presumably a lot of outdated information i'm a bit lost on such a big topic.
So i'm looking for a recommendation for a scripting language and a point in the right direction in terms of methods of tutorials i could put to work to implement the above. Or perhaps even a simple opensource script that i could learn from and adapt to suit the website owners needs.
Any advice appreciated! Sorry if this isn't the right place/question to ask.
Scripting languages his host accepts: perl, php, python.