title: How to track hacking attempts on a website
body: <p>Assuming that I've tried my best to write secure code: database isn't easy for sql injection, output is filtered from xss, and other. The next question is how do I track that someone has tried to hack a website. What can a developer do that doesn't involve them reading through logs of every URL request that came to their website? (not that I even know how to do that). </p>
  
  <p>I use PHP so tools or answers specific to PHP are welcome. </p>