HTTP-monitoring program written in php