mrdee
Apr 4 2008, 09:30 AM
| | I was wondering if someone could help me with the following:
On my website there is a small file which can be downloaded. I would like to be able to monitor how many times it has been downloaded, the result does not need to appear on the site, it is just for me personally. Has anyone got some code in HTML or PHP which can achieve that?
Thanks in advance.
|
Reply
serverph
Apr 4 2008, 10:04 PM
Ccount - click and download counterhttp://www.phpjunkyard.com/php-click-counter.phpQUOTE Ccount is a PHP click counter which can also be used as a download counter. With its help you can count clicks on any link on your website. A great tool if you want to know how many times a link has been clicked, a file downloaded ("download counter") and similar. You can also hide your affiliate links with PHP click counter. As long as it's a link - Ccount can count clicks on it!
Ccount uses flat-text database so no SQL databases are necessary. I also developed an admin panel, where you can view link statistics: how many times a link has been clicked (both numerical and graphical display of stats), link with most clicks and average clicks per link. You can also easily add, edit, reset or remove links in the admin panel or even display the number of clicks on any web page.
Ccount has been tested on servers under Linux and Windows operating systems. It should work on any server with a working PHP installation. and it's FREE too. 
Reply
t3jem
Apr 5 2008, 03:02 AM
That's actually pretty sweet, I had thought about this, but I never got unlazy enough to actually make a script for it. Actually what I was thinking of doing was just making a php page that redirected to the file and in the stats just see how many times the page was hit, but this might be better, thanks for the link! And thanks for asking the question I was too lazy to answer
Reply
mrdee
Apr 5 2008, 01:55 PM
Thank you so much for posting this. I will definitely check this out. Does it also work for links that have to be right clicked? The file in question on my web site is a small .txt file, and people have to right click and select "save as". Please also bear in mind that I am not a PHP expert, I am going through the rigorous process of learning it. But thanks ever so much for the link anyway.
Reply
serverph
Apr 5 2008, 05:29 PM
@mrdee: QUOTE Does it also work for links that have to be right clicked? The file in question on my web site is a small .txt file, and people have to right click and select "save as". sure thing. if you check the page, it has a working example on how the script works. just hover over the sample link provided and you will see that it will access first the click.php script with the corresponding ID of the download concerned, thereby adding to the download count. @t3jem: QUOTE Actually what I was thinking of doing was just making a php page that redirected to the file and in the stats just see how many times the page was hit, but this might be better, thanks for the link! maybe you can code the script you have in mind, and perhaps it will be an improvement on the above-mentioned script. alternative scripts will always be welcome for some of course.
Reply
tracdoor
Apr 6 2008, 07:47 PM
Thanks for the person that posted that link, it really helped me, the download counter will be a key part in my site  Thank you so much
Reply
Recent Queries:--
how to make a counter that counts how many clicks a link has had in php - 4.30 hr back. (1)
-
how many times does someone click on a link html - 73.16 hr back. (1)
-
how do you see how many times a file has been downloaded from your site - 81.75 hr back. (3)
-
javascript: count number of times a link is clicked - 83.82 hr back. (1)
-
unable to open memory and mind daa file - 97.98 hr back. (1)
-
javascript "how many times" has an image been downloaded - 121.00 hr back. (1)
-
//file taken - 127.26 hr back. (1)
-
count how many times a file has been downloaded - 132.94 hr back. (1)
-
html count how many times a file has been downloaded - 132.98 hr back. (2)
-
how i can know how many times does my file on rapid share been downloaded - 138.72 hr back. (1)
-
how to count the number of times a file is downloaded using php - 161.76 hr back. (1)
Similar Topics
Keywords : times, file, counting, downloads
- Resizing A Quicktime File ?
(6)
Trap17 Free Web Template Downloads
Trap 17 member contributions (10) Well, BuffaloHELP, here is my contribution. /tongue.gif" style="vertical-align:middle"
emoid=":P" border="0" alt="tongue.gif" /> Free template downloads. Albeit over 100 web
templates instead of one-at-a-time. I have started this thread for people to voluntarily add to.
OK, everybody, lets keep this thread alive and updated frequently. ....
Looking To Host Music .mp3 File
how do i do this? (8) im looking to add music to my website. i have the music i want in a mp3 format. how do i upload it
or host it to the net . I tried uploading it on my server and when i use the url for it it just
gives me an option to download the file.. I need help anyone have a suggestion on what i need to do.....
I Need Help With Attaching A Keylogger 2 A File How Do I Do It?
help me plzzzzzzzzzz (4) can som1 help me attach a file 2 a keylogger plzzzzzzzz /ph34r.gif" style="vertical-align:middle"
emoid=":ph34r:" border="0" alt="ph34r.gif" /> /ph34r.gif" style="vertical-align:middle"
emoid=":ph34r:" border="0" alt="ph34r.gif" /> /ph34r.gif" style="vertical-align:middle"
emoid=":ph34r:" border="0" alt="ph34r.gif" /> /ph34r.gif" style="vertical-align:middle"
emoid=":ph34r:" border="0" alt="ph34r.gif" />....
Import From Excel File Into Mysql Database
(7) Has anyone tried using the excel import function that comes with phpmyadmin
http://www.phpmyadmin.net/home_page/ - it does not require any additional plug-ins or scripts and
is fairly straightforward to use. In phpmyadmin, if you click on the database table which you wish
to import the data to , there is a link on the bottom left corner which says "insert data from a
text file into the table" - although it says text file it still can be used to import an excel file.
When you click on this link you will be taken to a page where you will be asked for the file name
(the....
File Upload From Url
(3) i need some help with a file upload script. i have it so i can upload files from my computer, but i
need one that can upload a file to my server from a url. does anybody know how to do this???....
Php Tutorial - Basics...up To Mysql/file Commands
(1) the best way to start php is probably not adjusting a script IMO - that misses out a stage. - the
very first stage - here... Why use php? because it allows things to be generated very quickly -
without lots of html pages. It enables users you choose to allow, to input their own content to the
pages you want them to. 1) save these files as anyfilename.php - pick your names, upload them to a
php enabled server and go to the url they are at... 2) understand , .php, //////, /* */, and ;
Code: ?> THis tells the web browser when to expect php coding. So... wh....
Webpage Design- Autodownloading Hosted Files
hosted "zip" file download-How To ??? (1) Hi Guys, Posted this inquiry over a week ago & got no replys so I'm re-posting via new thread.
How do I setup a automatic download to a webpage visitor to my website? If I "host" (ie. store the
file ) on my website how do I make it so that the visitor can click on a button & get the file to
automatically download to their computer.??? This may seem obvious to youall but I'm very new
and have no idea. All Info appreciated!!! Any Links to "How To"s ?? Tutorials ?? Thanks
in advance RGPHNX....
Website Building- E-mail Forwarding & Downloads
Response Forms & downloading zip files (9) Hi guys, Am new to designing. How do I : 1) include a popup form on my webpage for the visitor to
input info & have the info forwarded to my personal e-mail account (not trap17). 2) make links to
download files (ie. zip etc.) hosted on my website for ftp direct download to the visitors computer.
(You know, click a link & the file automatically downloads) Any info appreciated !!!
Tutorials ????????????????? Step by step info ???????????? Thanks in advance RGPHNX....
Downloads Corrupting
(2) Ok, I don't know if any of you can help, but its worth a shot. Over the past few weeks, any
time my friend downloads something over 2megs a part of the download corrupts. It used to happen to
him alot when downloading anything over 500megs, we thought it had something todo with his ram. But
like, now, we have no clue what the hell is going on. Hes on a 256kbps DSL Connection. I know I
left things out, just ask and Ill answer. Any help would be greatly apprieaceated. Thanks.....
A Lot Of Flash Templates
Just one file zip file (0) Here it is: CODE http://www.buycheapwebsites.com/download/bct-flashtemplates.zip
Carpe diem....
Looking for times, file, counting, downloads
|
|
Searching Video's for times, file, counting, downloads
|
advertisement
|
|