You would have to put a click counter script in your website. By script, I mean PHP, Perl, Python, ASP, or some other alternative, it has to be some kind of server side scripting... Also, do you mean download to another computer with out their knowledge
, or make the normal download box popup? If you are trying to acheive "the normal download box popup", all you have to do is provide a link to the file that you are allowing to be downloaded, There are also numerous other ways in which to do so, I will list them below. Who is your webhost? As to the click counter, depending on what they offer, you may not be able to make a click counter. Get back with us on who your webhost is and what they offer and maybe I or someone else can come up with something for a click counter.
You could just provide a simple link...
<a href="http://yourdomain.com/file.ext">file.ext</a>
Or
You can use the meta refresh tag...
<meta http-equiv="refresh" content="#numofseconds;url=http://yourdomain.com/file.ext">
You can also use javascript redirects...
<script type="text/javascript">
<!--
window.location = "http://yourdomain.com/file.ext"
//-->
</script>
This is how you can acheive a redirect using php...
<?php
header( 'Location: http://yourdomain.com/file.ext' ) ;
?>
Note: This must go before the html
This is how you can acheive a redirect using perl...
#!/usr/bin/perl -w
use strict;
use CGI qw/:standard/;
print redirect('http://yourdomain.com/file.ext');
This is how you can acheive a redirect using ASP...
<%
Response.Redirect "http://yourdomain.com/file.ext"
%>
Somebody correct me if I am wrong but I think this is how you do a redirect with Python...
return context.REQUEST.RESPONSE.redirect('http://yourdomain.com/file.ext)
And the last one that I will show you is for a redirect using JSP...
response.sendRedirect("http://yourdomain.com/file.ext");
Hope this helps,
8-)fffreak