2012-03-01, 02:34:32
mvlcek Wrote:Hallo MartinOleg06 Wrote:how to show the number of downloads a particular file?
Just pass the name of the file including directories within uploads to return_hitcount_hits(). E.g. if the file is .../data/uploads/zips/x.zip, use echo return_hitcount_hits("zips/x.zip");
Code:
<?php echo return_hitcount_hits("zips/x.zip"); ?>
ckeditor code changes
Quote:<!--?php echo return_hitcount_hits("zips/x.zip") ?-->
Hitcount and Download Interceptor plugin installed.
root .htaccess file changed.
Code:
RewriteRule ^data/uploads/(.*)$ plugins/download_interceptor/intercept.php?file=$1 [L]
what is wrong?
Thanks.