I get "Permission denied" with the following code:
$api_secret = \'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\'; $time_expires = time() + (60 *