Post
Topic
Board Micro Earnings
Re: [ANN] FaucetBOX.com - free API & faucet script, create your own crypto faucet
by
radiotracker
on 13/11/2014, 12:13:55 UTC
@NeedIfFindIt THANK YOU! for your help, but the tipps didnt worked for me Sad


So i changed in the FaucetBOX.php to

Code:
public function __exec($method, $params = array()) {
        $params = array_merge($params, array("api_key" => $this->api_key, "currency" => $this->currency));

        $ch = curl_init($this->api_base . $method);
        curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
        curl_setopt($ch, CURLOPT_POST, true);
        curl_setopt($ch, CURLOPT_POSTFIELDS, $params);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
        $response = json_decode(curl_exec($ch), true);
        $this->last_status = $response['status'];
        curl_close($ch);

        return $response;
    }

Nothing happend: The plumber-curl.php already shows "SSL Cert Problem" and if i try claim
on my faucet i get:

Code:
Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /hp/ca/aa/gh/www/LandOfDogecoin/libs/faucetbox.php on line 32

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /hp/ca/aa/gh/www/LandOfDogecoin/libs/faucetbox.php on line 44

In the FaucetBOX admin Panel these message is shown:

Code:
Error connecting to FaucetBOX.com API. Either your hosting provider doesn't support external connections or FaucetBOX.com API is down. Send an email to support@faucetbox.com if you need help.


also is
Code:
protected $api_base = "https://faucetbox.com/api/v1/";
right?