title: How to make $fh = fopen change file name every day according to date
body: <p>Hi my problem is I got a server and I want admins to be able to look into my server logs
  I can use this:</p>
  
  <pre><code>$fh = fopen('F:\web\Chat2014-07-07.log','r');
  </code></pre>
  
  <p>But this will load the file from the day and I will have to do that every morning or evening. is there any way how change it's name automatically every day ?</p>
  
  <p>I appreciate any tips it would be very usefull..</p>