change private api key in PHP to a constant