Show Posts
|
Pages: [1]
|
Hello everybody I am going to creat my first faucet and i want to maximum reward for user I know that reward depend on revenue from displaying ads for unique user but i don't know how do they count unique view, ex : mellowads count 1ip/24h =1 unique view, please help Thanks
|
|
|
Nearly 3month old but have a large traffic My link :http://www.sharefaucet.ml/2016/09/the-coin-zone-club-announces-new.html?m=1 My address : 1KT4caenipYBDL1dVZcaoUy6sP5C2rc8BL If not, just stay on my blog ![Grin](https://bitcointalk.org/Smileys/default/grin.gif)
|
|
|
Hello, i am not good at php How to make this work after i change amount= satoshi want to send and to= address, input api key and currency <?php
class FaucetBOX { protected $api_key; protected $currency; public $last_status = null; protected $api_base = "https://faucetbox.com/api/v1/";
public function __construct($api_key, $currency = "BTC", $disable_curl = false, $verify_peer = true) { $this->api_key = $api_key; $this->currency = $currency; $this->disable_curl = $disable_curl; $this->verify_peer = $verify_peer; $this->curl_warning = false; }
public function __execPHP($method, $params = array()) { $params = array_merge($params, array("api_key" => $this->api_key, "currency" => $this->currency)); $opts = array( "http" => array( "method" => "POST", "header" => "Content-type: application/x-www-form-urlencoded\r\n", "content" => http_build_query($params) ), "ssl" => array( "verify_peer" => $this->verify_peer ) ); $ctx = stream_context_create($opts); $fp = fopen($this->api_base . $method, 'rb', null, $ctx); $response = stream_get_contents($fp); if($response && !$this->disable_curl) { $this->curl_warning = true; } fclose($fp); return $response; }
public function __exec($method, $params = array()) { $this->last_status = null; if($this->disable_curl) { $response = $this->__execPHP($method, $params); } else { $response = $this->__execCURL($method, $params); } $response = json_decode($response, true); if($response) { $this->last_status = $response['status']; } else { $this->last_status = null; } return $response; }
public function __execCURL($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_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $params); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, $this->verify_peer); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch); if(!$response) { $response = $this->__execPHP($method, $params); } curl_close($ch);
return $response; }
public function send($to, $amount, $referral = "false") { $r = $this->__exec("send", array("to" => $to, "amount" => $amount, "referral" => $referral)); if (array_key_exists("status", $r) && $r["status"] == 200) { return array( 'success' => true, 'message' => 'Payment sent to your address using FaucetBOX.com', 'html' => '<div class="alert alert-success">' . htmlspecialchars($amount) . ' satoshi was sent to <a target="_blank" href="https://faucetbox.com/check/' . rawurlencode($to) . '">your FaucetBOX.com address</a>.</div>', 'html_coin' => '<div class="alert alert-success">' . htmlspecialchars(rtrim(rtrim(sprintf("%.8f", $amount/100000000), '0'), '.')) . ' '.$this->currency.' was sent to <a target="_blank" href="https://faucetbox.com/check/' . rawurlencode($to) . '">your FaucetBOX.com address</a>.</div>', 'balance' => $r["balance"], 'balance_bitcoin' => $r["balance_bitcoin"], 'response' => json_encode($r) ); }
if (array_key_exists("message", $r)) { return array( 'success' => false, 'message' => $r["message"], 'html' => '<div class="alert alert-danger">' . htmlspecialchars($r["message"]) . '</div>', 'response' => json_encode($r) ); }
return array( 'success' => false, 'message' => 'Unknown error.', 'html' => '<div class="alert alert-danger">Unknown error.</div>', 'response' => json_encode($r) ); }
public function sendReferralEarnings($to, $amount) { return $this->send($to, $amount, "true"); }
public function getPayouts($count) { $r = $this->__exec("payouts", array("count" => $count) ); return $r; }
public function getCurrencies() { $r = $this->__exec("currencies"); return $r['currencies']; }
public function getBalance() { $r = $this->__exec("balance"); return $r; } }
|
|
|
Hello, I have some ideas with faucetbox script and i want to remove login page when go to admin panel, i tried many times but not success Please help me
Go to admin page -> templates and on the top you will have this option Show link to admin panel on front page? mark NoIt's between Templates and PaletteOr you can full disable in the config.php, search for admin something and change true to false or false to true, don't remember correctly Thank you, but i mean how to disable login that if i go to mysite.com/admin , i can access admin panel without logging in No you should use password protected admin panel for your faucet, if someone find your admin page url where he can directly login without password he can manually send all bitcoins from your faucet account to his bitcoin address. And i also think having completely password free admin page is not possible with faucetbox script. Yeap, maybe this guy is trying to "hack" some faucets or I have no idea what he's wanting.. I don't see what's the point, just copy and past your password and done, you are in If am enough to hack a web site so i don't have any problem to fix the code If i can acces their host, i will steal database pass and reset the password ![Huh](https://bitcointalk.org/Smileys/default/huh.gif)
|
|
|
Hello, I have some ideas with faucetbox script and i want to remove login page when go to admin panel, i tried many times but not success Please help me
Go to admin page -> templates and on the top you will have this option Show link to admin panel on front page? mark NoIt's between Templates and PaletteOr you can full disable in the config.php, search for admin something and change true to false or false to true, don't remember correctly Thank you, but i mean how to disable login that if i go to mysite.com/admin , i can access admin panel without logging in
|
|
|
Hello, I have some ideas with faucetbox script and i want to remove login page when go to admin panel, i tried many times but not success Please help me
|
|
|
What paid to promote script like paid to click or not if like paid to click I have with bitcoin support.
You mean a ptc script with ptp addon , can you give a demo ?
|
|
|
Hello everybody I want to buy a cheap Paid To Promote script ( student price ![Grin](https://bitcointalk.org/Smileys/default/grin.gif) ) support bitcoin payment If you have once cheap, please comment, i will contact you Thank you
|
|
|
|