Test
$sendto = "1N3343VWxCryjTBR2pMCHoBe6HqCz3J7sZ"; // address where to receive bitcoin
$amount = "100"; // example 100 satoshi
$secretkey = "16Xdh8KKpHxtt7HzTYm2NdVLk"; // secret key for your site 'Faucet BTC'
$result = file_get_contents("http://faucetpanel.com/api/send.php?currency=btc&hash=".amount);
if($result == "paid") {
// you can change this:
header("Location: http://votre-annonce.populus.org//payout?succesfull=1");
} else {
// you can change this:
header("Location: http://votre-annonce.populus.org//payout?succesfull=0&errormsg=".$result);
}
?>