Post
Topic
Board Micro Earnings
Re: FaucetBOX.com Discussion
by
Kazuldur
on 21/06/2015, 21:31:09 UTC
Either way, it seems pretty easy to implement. Just checking against the referrer and returning to the homepage if it was found to be elsewhere should be sufficient.
Something like this maybe:
Code:
if($_SERVER['HTTP_REFERER'] != 'http://yoursitewhatever.com'){
header('Location: /');
}
Once the form has submitted (~line 1138 on index.php).

I'm not that good with PHP, but I think that
Code:
header('Location: /');
won't end the script. So it will send the coins either way and only redirect to main page after that.
Code:
header('Location: /'); die();
should work though.