title: How to find out how many times a file been downloaded?
body: <p>I have an image that send to affiliate for advertising. 
  so, how can I find it out from my server the number of times that image been downloaded?
  does server log keep track of image upload count?</p>
  
  <p>---- Addition ----
  Thanks for the reply.. few more questions </p>
  
  <p>because I want to do ads rotation, and tracking IP address, etc.
  so, i think I should do it by making a dynamic page (php) and return the proper images, right? </p>
  
  <p>In this case, is there anyway that I can send that information to Google Analytics from the server?   I know I can do it in javascript.  but now, since the PHP should just return the images file.  so what I should do? :)</p>