php testing and db file