title: How to make a text file not accessable?
body: <p>i have recently added a IP-Logger to my site just to mess around with it.
  The ips are being saved in a file called "ips.txt".
  However, im able to access that file by typing in "domain.com/ips.txt".
  Is there a way to prevent people having access to that site?</p>
  
  <p>I also have another question,
  whenever i log the time the person visited the website, it's different then when he actually visited it. I currently have this code 
  <code>$logdetails=date("d-m-Y H:i:s")</code>. Lets say i visited the site on 9pm, it says that the person visited it like 3 hours earlier, is there a way to set the timezone?</p>
  
  <p>Thanks!
  (Sorry for my worse english)</p>