hi everyone
you can put ANY url shortener srevice to your claim button.
i will explain you how.. (avoid adyou.me service - it's scam!)
the best option is to put url shortener, that pays multiple times / show / day , because it pays for every claim
but there is a workaround to use more url shortener services to one single claim button - but you need some DB skills
ok let's show how to do it with single url shortener..
put a button tag inside
tags where form action address will contain url shortener generated link...
this shortener link will point to (for example) claimcheck.php on your faucet.
your claimcheck.php can look like this:
$rlink =$_SERVER['HTTP_REFERER']; //you will assign to $rlink variable the page fro where you are redirected to claimcheck.php
if (($rlink=='http://yourutlshortener/blah') //note that some url shorteners have a little different return address - test it first, before running for public
{
//put here your payout code to microwallet or add credits to your balance
header('Location: ./index.php?msg=you claimed xy satoshis'); //?msg = optional - you can parse on main page how much satoshis claimed (if you are giving random amount of satoshis)
//put to index.php $msg = $_GET['msg] then echo $msg as php code somewhere to your index.php
}
//if the claimcheck.php was NOT redirected from your URL shortener service, simply go back to index.php, maybe with some error code
header('Location: ./index.php?msg=your claim was not successful')
?>