Bitcoin Forum
May 11, 2024, 12:43:41 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: need help  (Read 256 times)
claimcoin (OP)
Full Member
***
Offline Offline

Activity: 259
Merit: 100

claim-coins.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

1715431421
Hero Member
*
Offline Offline

Posts: 1715431421

View Profile Personal Message (Offline)

Ignore
1715431421
Reply with quote  #2

1715431421
Report to moderator
1715431421
Hero Member
*
Offline Offline

Posts: 1715431421

View Profile Personal Message (Offline)

Ignore
1715431421
Reply with quote  #2

1715431421
Report to moderator
1715431421
Hero Member
*
Offline Offline

Posts: 1715431421

View Profile Personal Message (Offline)

Ignore
1715431421
Reply with quote  #2

1715431421
Report to moderator
Be very wary of relying on JavaScript for security on crypto sites. The site can change the JavaScript at any time unless you take unusual precautions, and browsers are not generally known for their airtight security.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
mexicantarget
Legendary
*
Offline Offline

Activity: 1652
Merit: 1043

Cypherpunk (& cyberpunk)


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

Here's PHP code:
https://faucethub.io/phplib
claimcoin (OP)
Full Member
***
Offline Offline

Activity: 259
Merit: 100

claim-coins.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: 1652
Merit: 1043

Cypherpunk (& cyberpunk)


View Profile
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: 630
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.

Don't just short links, ezLink them!
tungaqhd
Hero Member
*****
Offline Offline

Activity: 1540
Merit: 508


View Profile
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
Newbie
*
Offline Offline

Activity: 11
Merit: 0


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

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

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!