| Author |
notification when a file is downloaded
|
|
| Luit Krol 2004-06-10, 12:14 pm |
| Hi,
A question from a newbie on using dreamweaver. I put some documents on my
site for downloading. Is it possible to receive a e-mail when someone
downloaded a
file from the site? Even which document is downloaded?
Thanks
Regards
Luit
| |
| Dan Vendel *GOF* 2004-06-10, 12:14 pm |
| Luit Krol wrote:
> Hi,
> A question from a newbie on using dreamweaver. I put some documents on my
> site for downloading. Is it possible to receive a e-mail when someone
> downloaded a
> file from the site? Even which document is downloaded?
>
> Thanks
> Regards
> Luit
>
>
Yes, I suppose you can have a mailform with just hidden fields and using
a formmail script attached to e.g. the download link. Or make the
download link open a new page that sends such form onLoad and then
automatically (with a refresh meta tag) goes to the file that's supposed
to be downloaded.
Something like that...
--
Dan Vendel - *GOF*
Contact me directly at http://contact.vendel.info
Formmail tutorial at http://www.vendel.info/tut/formmail.html
Nested table demonstration at http://www.vendel.info/tabletut/
Search Engine Optimization & Rank Control Utility at http://awr.vendel.info
Search Dreamweaver newsgroup at http://www.vendel.info/google.html
| |
| Michael Fesser 2004-06-10, 7:14 pm |
| .oO(Luit Krol)
>A question from a newbie on using dreamweaver. I put some documents on my
>site for downloading. Is it possible to receive a e-mail when someone
>downloaded a file from the site? Even which document is downloaded?
Sure, all you need is a server-side script handling the request.
Currently I'm playing around with such things (besides others), a
download-URL would look like this:
http://www.example.com/download/foo.bar
On the server this is internally redirected to
http://www.example.com/download.php?request=foo.bar
Now my download script can handle the request, check if the requested
file exists, send it back to the client and update some counter in a
database (or send an e-mail if i want).
Micha
|
|
|
|
| Copyright 2003 - 2009 forum4designers.com Software forum Computer Hardware reviews |