Author

Topic: need help (Read 256 times)

newbie
Activity: 11
Merit: 0
October 31, 2017, 09:42:56 PM
#7
the site is great Mex, grats
hero member
Activity: 1540
Merit: 508
October 30, 2017, 10:44:08 AM
#6
Step1: Download this file and upload it to the same folder with the file which will proccess the payout https://faucethub.io/phplib/download
Step2: Add :
Code:
include 'faucethub.php';
$api_key = "YOUR_API_KEY";
$currency = "BTC"; # or LTC or any other supported by FaucetHub
$faucethub = new FaucetHub($api_key, $currency);
$result = $faucethub->send("1asdbitcoinaddressheredsa", 500);

if($result["success"] === true) {   # you can check if it was successful
    #update user's balance and echo $result["html"];           # there's example html ready for you
} else {                            # something went wrong :(
    log_error($result["response"]); # you can log whole response from server
    echo $result["html"];           # and display error message to user
}
full member
Activity: 630
Merit: 100
October 30, 2017, 07:20:13 AM
#5
Pretty much any of the faucet scripts you'll find out there has a working implementation of payment with Faucethub.io.
So, look at the API ref material and check out a faucet script or two for fully working example code.
There's only a handful lines of code in total that you need to have it up and running.
legendary
Activity: 1652
Merit: 1043
Cypherpunk (& cyberpunk)
October 30, 2017, 06:17:40 AM
#4
i get this
Not Found
Error: The requested address '/faucethub.php' was not found on this server.
It's not on the correct directory. Look into how to include classes and files.

This is some basic stuff you need to work on.
full member
Activity: 259
Merit: 100
claim-coins.com
October 30, 2017, 06:14:21 AM
#3
i get this
Not Found
Error: The requested address '/faucethub.php' was not found on this server.
legendary
Activity: 1652
Merit: 1043
Cypherpunk (& cyberpunk)
October 30, 2017, 04:44:54 AM
#2
Here's PHP code:
https://faucethub.io/phplib
full member
Activity: 259
Merit: 100
claim-coins.com
October 30, 2017, 04:16:10 AM
#1
how add Faucethub Withdrawal Method in my site www.cut4.cash
need php code
Jump to: