Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Download count for website

 
   Web Hosting and Web Master Forums (Home) -> Webmaster RSS
Next:  Ping Duende  
Author Message
wilsmith

External


Since: Jun 14, 2004
Posts: 2



(Msg. 1) Posted: Mon Jun 14, 2004 4:57 pm
Post subject: Download count for website
Archived from groups: alt>www>webmaster (more info?)

I run a community website which currently offers free downloads of
community photos for personal use.
I notice that many website offering free downloads can announce the
number of times each item has been downloaded.
Can anybody tell me how this count is achieved?
TIA
Bill S

 >> Stay informed about: Download count for website 
Back to top
Login to vote
karl1

External


Since: Apr 07, 2004
Posts: 80



(Msg. 2) Posted: Mon Jun 14, 2004 4:57 pm
Post subject: Re: Download count for website [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Bill Smith" <wilsmith.TakeThisOut@blueyonder.co.uk> wrote in message
news:u9izc.4264$1K6.35000424@news-text.cableinet.net...
 > I run a community website which currently offers free downloads of
 > community photos for personal use.
 > I notice that many website offering free downloads can announce the
 > number of times each item has been downloaded.
 > Can anybody tell me how this count is achieved?

In my case, I keep a database of the information regarding the file(s) in a
database: name, description, file name.
A PHP script prints all this stuff to the screen as well as a link to a
script that counts the downloads (incrementing the 'count' field in the
database) and then redirects the user to the location of the file.


--
Karl Core
<a style='text-decoration: underline;' href="http://www.karlcore.com" target="_blank">http://www.karlcore.com</a>
<a style='text-decoration: underline;' href="http://www.usabilityinfo.com" target="_blank">http://www.usabilityinfo.com</a>
<a style='text-decoration: underline;' href="http://www.murderthestupid.com" target="_blank">http://www.murderthestupid.com</a><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Download count for website 
Back to top
Login to vote
newsprofile1

External


Since: Jun 09, 2004
Posts: 6



(Msg. 3) Posted: Mon Jun 14, 2004 5:02 pm
Post subject: Re: Download count for website [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Bill Smith" <wilsmith.TakeThisOut@blueyonder.co.uk> wrote in message
news:u9izc.4264$1K6.35000424@news-text.cableinet.net...
 > I run a community website which currently offers free downloads of
 > community photos for personal use.
 > I notice that many website offering free downloads can announce the
 > number of times each item has been downloaded.
 > Can anybody tell me how this count is achieved?

Usually using a database. When someone views a certain link, I will add +1
to the count column.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Download count for website 
Back to top
Login to vote
anonymous3

External


Since: Apr 03, 2004
Posts: 146



(Msg. 4) Posted: Mon Jun 14, 2004 8:48 pm
Post subject: Re: Download count for website [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Karl Groves" <karl RemoveThis @NOSPAMkarlcore.com> wrote in message
news:cakbih$s6s$1@ngspool-d02.news.aol.com...
 >
 > "Bill Smith" <wilsmith RemoveThis @blueyonder.co.uk> wrote in message
 > news:u9izc.4264$1K6.35000424@news-text.cableinet.net...
  > > I run a community website which currently offers free downloads of
  > > community photos for personal use.
  > > I notice that many website offering free downloads can announce the
  > > number of times each item has been downloaded.
  > > Can anybody tell me how this count is achieved?
 >
 > In my case, I keep a database of the information regarding the file(s) in
a
 > database: name, description, file name.
 > A PHP script prints all this stuff to the screen as well as a link to a
 > script that counts the downloads (incrementing the 'count' field in the
 > database) and then redirects the user to the location of the file.
 >
 >

Should be updated after the download is complete. What if the user cancels?<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Download count for website 
Back to top
Login to vote
postmaster

External


Since: Jun 27, 2003
Posts: 286



(Msg. 5) Posted: Mon Jun 14, 2004 11:54 pm
Post subject: Re: Download count for website [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Richard wrote:

 > "Karl Groves" <karl.RemoveThis@NOSPAMkarlcore.com> wrote in message
 > news:cakbih$s6s$1@ngspool-d02.news.aol.com...
 >
  >>"Bill Smith" <wilsmith.RemoveThis@blueyonder.co.uk> wrote in message
  >>news:u9izc.4264$1K6.35000424@news-text.cableinet.net...
  >>
   >>>I run a community website which currently offers free downloads of
   >>>community photos for personal use.
   >>>I notice that many website offering free downloads can announce the
   >>>number of times each item has been downloaded.
   >>>Can anybody tell me how this count is achieved?
  >>
  >>In my case, I keep a database of the information regarding the file(s) in
 >
 > a
 >
  >>database: name, description, file name.
  >>A PHP script prints all this stuff to the screen as well as a link to a
  >>script that counts the downloads (incrementing the 'count' field in the
  >>database) and then redirects the user to the location of the file.
 >
 > Should be updated after the download is complete. What if the user cancels?

Also the redirect can be bookmarked and used in the future, or passed
around. Exact counting is difficult.

I discovered that someone started to host a zip file for me, so my count
was extremely off. In a community people start to pass around pics,
probably even by other ways, like MSN.

--
John MexIT: <a style='text-decoration: underline;' href="http://johnbokma.com/mexit/" target="_blank">http://johnbokma.com/mexit/</a>
personal page: <a style='text-decoration: underline;' href="http://johnbokma.com/" target="_blank">http://johnbokma.com/</a>
Experienced Perl programmer available: <a style='text-decoration: underline;' href="http://castleamber.com/" target="_blank">http://castleamber.com/</a>
Happy Customers: <a style='text-decoration: underline;' href="http://castleamber.com/testimonials.html" target="_blank">http://castleamber.com/testimonials.html</a><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Download count for website 
Back to top
Login to vote
wilsmith

External


Since: Jun 14, 2004
Posts: 2



(Msg. 6) Posted: Wed Jun 16, 2004 4:49 am
Post subject: Re: Download count for website [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Bill Smith wrote:

 > I run a community website which currently offers free downloads of
 > community photos for personal use.
 > I notice that many websites offering free downloads can announce the
 > number of times each item has been downloaded.
 > Can anybody tell me how this count is achieved?
 > TIA
 > Bill S
 >

Our hosting company provides very full webstats, but can't seem to
distinguish between an image viewed on-screen and an image physically
downloaded to the visitor's computer HD, and none of the many other stat
analysing tools I've looked at seems able to do this either.

Karl: Your solution looks promising, but you write:
 > A PHP script prints all this stuff to the screen as well as a link to a
 > script that counts the downloads (incrementing the 'count' field in the
 > database) and then redirects the user to the location of the file.

Could you point me to the PHP code source, please, and/or explain how
you detect that the file has been downloaded rather than just viewed?

Thanks for all suggestions posted,

Bill S.

PS:
Maybe I should have explained "community" better: it's not something
like MSN but a local community website (in fact, a UK community council)
and the photos are of our annual children's gala ceremonies, parade etc.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Download count for website 
Back to top
Login to vote
sbryce1

External


Since: Jan 24, 2004
Posts: 425



(Msg. 7) Posted: Wed Jun 16, 2004 4:49 am
Post subject: Re: Download count for website [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Bill Smith wrote:

 > Our hosting company provides very full webstats, but can't seem to
 > distinguish between an image viewed on-screen and an image physically
 > downloaded to the visitor's computer HD

That is because the only way a person can view the image on-screen is to
download it from the server. The server stats only know that the image
was downloaded. They have no way of knowing what the user did with the
image after that.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Download count for website 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
web download - Hi all, I work on my websites on-line. And it is high time I made a backup of the sites. Is there a freeware program which allows me to download a website (including the structure) but which allows me to exclude certain areas? I have tried WebReaper,..

PHP download script? - Can someone recommend a good PHP download script? I offer free font downloads and due to a lot of publicity for the site recently I need to limit the downloads to, say, 10 per day. I am by no means a PHP expert, so if anyone can recommend a..

Determining Download Times - Hi, Would anyone know of a tool that identifies how long a download will take on various modem, DSL , etc. connections? I would like to advise visitors of a site as to how long their wait will be for example: .wav files. Thank you in advance. ..

Instant Download question - Does anyone know how to set up an instant download feature for an ebusiness website that sells digital goods (media, documents, etc)? I use Paypal for my payment method and can't configure it to do instand downloading. My hosting service gives me 3 othe...

Upload / download capability - I have a bulletin board using UBB.classic and am looking for a way to provide upload/download capabilities much like what is offered in the Files section of a Yahoo group. That is, people can upload a file to an area with a description, then others can..
   Web Hosting and Web Master Forums (Home) -> Webmaster All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]