Post
Topic
Board Micro Earnings
Re: Faucet Owner-Do you want to put shortlink on claim button ?
by
tungaqhd
on 04/04/2017, 08:21:10 UTC
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:

Code:
$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')
?>

i did try it on my faucet ( +cookie to cotrol) and some people start to use boot traffic tool with http referer fake and rape my site

of course you can add more if conditions (for example timer etc)
btw you dont need to put captcha this way to your faucet, if the shortener has its own captcha = easier for you
i think my service is good for guys who don't know coding lol hehe  Grin