Bitcoin Forum
August 16, 2018, 07:07:03 AM *
News: Latest stable version of Bitcoin Core: 0.16.2  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: need help  (Read 166 times)
claimcoin
Full Member
***
Offline Offline

Activity: 238
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

1534403223
Hero Member
*
Offline Offline

Posts: 1534403223

View Profile Personal Message (Offline)

Ignore
1534403223
Reply with quote  #2

1534403223
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1534403223
Hero Member
*
Offline Offline

Posts: 1534403223

View Profile Personal Message (Offline)

Ignore
1534403223
Reply with quote  #2

1534403223
Report to moderator
1534403223
Hero Member
*
Offline Offline

Posts: 1534403223

View Profile Personal Message (Offline)

Ignore
1534403223
Reply with quote  #2

1534403223
Report to moderator
mexicantarget
Legendary
*
Offline Offline

Activity: 1190
Merit: 1005

Cypherpunk (& cyberpunk)


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

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

claimcoin
Full Member
***
Offline Offline

Activity: 238
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: 1190
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.

Kema
Full Member
***
Offline Offline

Activity: 420
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
*****
Offline Offline

Activity: 770
Merit: 504


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
}

,   ╓▄  ▄▓▄ ╓▓█▌ ▀▓▄▄,
        ``  `╜^ `▀▀▀  ▓█████▌w
▄   ╓▓╕   ▓▓   ▓█▄ ╓███ ▐█████████w
                  ``,, "▀▄  ▓██████████▄
Φ   ▓M  ▀▓  ▀█M ║██ ╘██▀²███  ▓███████████▄
               ,,   ,╓   ▄▄ ``▄▄╥ ▓███████████▓,
"`   ╙╜   ╝▀   ▀▓   ▓▓M  ▓█▀ └███  ╨████████████▄
     ,,   ,,   ,╓   ╓╖   ╓▄,  ▄▄φ  ▄▌▄ ╙███████████▄
`   ""   ╙╜   ╙╨   ╝▀`  ▀▓╜  ▀▓╩  ▓█▓   ╙▓█████████
 ,   ╓┐  .▄┐  ╓▄   ▄▄  ╓▒▄  ▄▓▄ ╓▓▓╕ ▄█▓▄  ╓█████████▌
          `   ``   "^   "^  "╝`  ╙▀` ╙▀▀,▄▓███████████
╓    ▄∩  .▄╕  ╓▓▄  ▄▓▒  ▓▓▒  ▓█▓ ╓██▓  ▐██████████████
               `    `   `"   `" ,,╙╝^╓,  ▀████████████
ª⌐   ▓⌐  ╫▓   █▌  ▀█N "██  ▓█▓ ▐██▀ ███Γ╓▓████████████
                     ,   ,,   ╓╓  ,╖▄"`  ▐███████████▌
'*   ╝╩   ▀R  ╘▓M  ▀█▀  ▓█▌ '██▀ ▓██▌  ╓████████████
     ,,   ,,   ,,  ,╖,  ╓▄,  ▄▄, ,▓▌▄ ▀███████████╛
`   '^   ╙╜   ╝╜  ╙▀╩  ╝▓╩  ▀▓╩ └▓█▀  "█████████`
,    ╓   ,╖   ╓▄   ▄▄╕ .▄▓w ╓▓▓▄     ▓██████▓
`    `    "   `"   ╙Å`  ╝▀^ '▀▓╨,╓╓▄███████╜
╓w   ▄   ▌▌  4▓▄ ╓██╕ ▓██ ,▄▓█████████╜
        `    "   ╙▐, ╙Å"▄█████████▀^
  #   Φ▓  ║██ j███  ▐██████▓▀`
       `   `"`  ▀▓▀▀╙`
O.P.U
.
|
  The Blockchain Solution for the Global Skincare Industry           
.Tokenizing Skincare Intelligence.
.
|
.
|
.
TELEGRAM 
―OTWITTER
FACEBOOK
.
[
.
.
]
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!