You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My index.php:
`<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
require_once('snapchat.php');
$snapchat = new Snapchat('dacexi', 'LElle');
$snaps = $snapchat->getSnaps();
?>`
And the errors i am getting:
`
Notice: Use of undefined constant CURLOPT_CONNECTTIMEOUT - assumed 'CURLOPT_CONNECTTIMEOUT' in /var/www/html/unencrypted/snap/index.php on line 7
Notice: Use of undefined constant CURLOPT_RETURNTRANSFER - assumed 'CURLOPT_RETURNTRANSFER' in /var/www/html/unencrypted/snap/index.php on line 7
Notice: Use of undefined constant CURLOPT_TIMEOUT - assumed 'CURLOPT_TIMEOUT' in /var/www/html/unencrypted/snap/index.php on line 7
Notice: Use of undefined constant CURLOPT_USERAGENT - assumed 'CURLOPT_USERAGENT' in /var/www/html/unencrypted/snap/index.php on line 7
Notice: Use of undefined constant CURLOPT_HTTPHEADER - assumed 'CURLOPT_HTTPHEADER' in /var/www/html/unencrypted/snap/index.php on line 7
Fatal error: Call to undefined function curl_init() in /var/www/html/unencrypted/snap/snapchat_agent.php on line 286`
The text was updated successfully, but these errors were encountered:
My index.php:
`<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
require_once('snapchat.php');
?>`
And the errors i am getting:
`
Notice: Use of undefined constant CURLOPT_CONNECTTIMEOUT - assumed 'CURLOPT_CONNECTTIMEOUT' in /var/www/html/unencrypted/snap/index.php on line 7
Notice: Use of undefined constant CURLOPT_RETURNTRANSFER - assumed 'CURLOPT_RETURNTRANSFER' in /var/www/html/unencrypted/snap/index.php on line 7
Notice: Use of undefined constant CURLOPT_TIMEOUT - assumed 'CURLOPT_TIMEOUT' in /var/www/html/unencrypted/snap/index.php on line 7
Notice: Use of undefined constant CURLOPT_USERAGENT - assumed 'CURLOPT_USERAGENT' in /var/www/html/unencrypted/snap/index.php on line 7
Notice: Use of undefined constant CURLOPT_HTTPHEADER - assumed 'CURLOPT_HTTPHEADER' in /var/www/html/unencrypted/snap/index.php on line 7
Fatal error: Call to undefined function curl_init() in /var/www/html/unencrypted/snap/snapchat_agent.php on line 286`
The text was updated successfully, but these errors were encountered: