Bitcoin Forum
May 26, 2018, 10:23:51 AM *
News: Latest stable version of Bitcoin Core: 0.16.0  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: need help  (Read 162 times)
claimcoin
Full Member
***
Offline Offline

Activity: 224
Merit: 100

claim-coin.com


View Profile WWW
October 30, 2017, 08:16:10 AM
 #1

how add Faucethub Withdrawal Method in my site www.cut4.cash
need php code

"Bitcoin: mining our own business since 2009" -- Pieter Wuille
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1527330231
Hero Member
*
Offline Offline

Posts: 1527330231

View Profile Personal Message (Offline)

Ignore
1527330231
Reply with quote  #2

1527330231
Report to moderator
1527330231
Hero Member
*
Offline Offline

Posts: 1527330231

View Profile Personal Message (Offline)

Ignore
1527330231
Reply with quote  #2

1527330231
Report to moderator
mexicantarget
Legendary
*
Offline Offline

Activity: 1134
Merit: 1005

Cypherpunk (& cyberpunk)


View Profile WWW
October 30, 2017, 08:44:54 AM
 #2

Here's PHP code:
https://faucethub.io/phplib

I am getting a lot of emails/PMs/messages about selling some/any of my websites. I am not able to do that for many reason. So, I you don't get an answer on this specific question, please don't get me wrong.
claimcoin
Full Member
***
Offline Offline

Activity: 224
Merit: 100

claim-coin.com


View Profile WWW
October 30, 2017, 10:14:21 AM
 #3

i get this
Not Found
Error: The requested address '/faucethub.php' was not found on this server.

mexicantarget
Legendary
*
Offline Offline

Activity: 1134
Merit: 1005

Cypherpunk (& cyberpunk)


View Profile WWW
October 30, 2017, 10: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.

I am getting a lot of emails/PMs/messages about selling some/any of my websites. I am not able to do that for many reason. So, I you don't get an answer on this specific question, please don't get me wrong.
Kema
Full Member
***
Offline Offline

Activity: 350
Merit: 100


View Profile WWW
October 30, 2017, 11: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.

tungaqhd
Hero Member
*****
Online Online

Activity: 686
Merit: 501


From Việt Nam :)


View Profile WWW
October 30, 2017, 02:44:08 PM
 #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
}

btcvic63
Jr. Member
*
Offline Offline

Activity: 36
Merit: 0


View Profile
November 01, 2017, 01:42:56 AM
 #7

the site is great Mex, grats
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!