Test project for using php to accurately detect file types