How to detect acess file in host
<p>I have some file has upload to server. I want detect some this  file to be access or not. if it access will write to access log.  I has use </p>

<blockquote>
  <p>$_SERVER['HTTP_REFERER'];</p>
</blockquote>

<p>but it only detect access site, not file. 
My question: How to detect file access.</p>
