Created
December 10, 2016 00:10
-
-
Save unixfy/fe96af8852bad9f09dcfbf6a9208c168 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$address = $_GET['address']; | |
$ammount_to_send = $_GET['ammount']; | |
$api = $_GET['api']; | |
//If you want to add a note the faucet owner and you can see | |
$note = $_GET['note']; | |
//What you will want to do is to do a random number+letters generator at ?api in the URL | |
//Client | |
$client = new SoapClient('https://api.epay.info/?wsdl'); | |
//To act | |
$response = $client->send($api,$address,$amount_to_send,1,$note,null); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment