Post
Topic
Board Micro Earnings
Re: [ANN] FaucetBOX.com - free API & faucet script, create your own crypto faucet
by
radiotracker
on 12/11/2014, 19:46:29 UTC
I have the FaucetBOX Script for my site, but it doesn´t worked for me to change to this:

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

        $ch = curl_init('https://104.28.29.86/api/v1/');
        curl_setopt($ch, CURLOPT_HTTPHEADER, array('Host: faucetbox.com'));
        //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;
    }

Any other IDEAS to solve the
"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 I see an Update Messsage on the top of the Admin Panel.