Time Tracking written in PHP