detectmusickey in PHP