You’re going to need a server-side system to do this. A small program,
usually written in a dynamic scripting language like Ruby or PHP will
intercept the request (based on some variable; I usually use a made-up
segment in the URL, like /downloads/ that doesn’t actually exist on
the server) and pass the visitor through a form. If the form is
successfully completed, then the download is initiated. When I have
built these, I usually place all the files for download somewhere
outside of the Web root – so that even if the visitor had the URL of
the raw file, they could not download it at all, because Apache won’t
let them. Then if the request is successful, I stream the file to them
through a script on the server. (Example here: http://www.tgas.com/view/455/white_papers
)
You may be able to find something off-the-shelf at Hotscripts.com or
another script-sharing site that will do this, either for free (but
with the understanding that there’s little or no support, and you’re
expected to be somewhat able to program) or paid (where the
expectation is that there will be support, and in some cases, support
with installation on your server).
If not, there are quite a few members of this list (myself included)
who could build you a tailored solution, naturally, for a price.
If you’ve always wanted to learn to program, this might be a good
place to start, too. The most common language available for this is
PHP, using MySQL as your data store, and a great book on that subject
is Luke Welling and Laura Thomson’s PHP and MySQL Web Development,
bublished by SAMS. Also posting lots of questions on the Dynamo list,
once you get started, will help you out, while also helping other
members to learn new tricks.
Walter
On May 7, 2011, at 11:50 AM, Mike Thornley wrote:
Hi All
I currently producing a site for a client who manufacture machinery
in a very competitive market.
As part of the site there will be a product section, each product
will have a brief description, images etc, but more detailed
information will be contained within a downloadable PDF brochure.
What the client wants, is when a visitor to the site clicks a link
to download a product brochure, before this download starts, the
visitor has to enter their details to be able continue with the
download. The client then wants this information to come to them as
an email. This is so they can monitor who has downloaded their
produce literature.
Tips on how to do this please.
Mike
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options