problem with examples PHP API
Issue No. 176
i have problem using examples for PHP, i'm just configuring lines:
// Replace with your access token
$ACCESS_TOKEN = 'xxxxxxx-My-Token-Access-xxxxxx';
// Replace with your bot name and email/website to contact if there is a problem
// e.g., "mybot/0.1 (https://erikberg.com/)"
$USER_AGENT = 'nba-fantasy/0.1 (email@example.com)';
but, when running script, return this error:
Warning: fopen(compress.zlib://https://erikberg.com/events.json?sport=nba&date=20130414): failed to open stream: operation failed in /Applications/XAMPP/xamppfiles/htdocs/minisitemlb/mlb.php on line 48
please help my with this issues,
Verify your PHP version and that you have the json, OpenSSL, and ZLib modules installed and enabled as specified under "Requirements" at <a href="/api/examples/php">/api/examples/php</a>.