PHP script to search through IRC logs