atheus
05-21-2015, 01:55 PM
[Script] Make relatively easy money from adf.ly or any other link shortner.
Greetings ,
this little idea come to my mind recently where anyone who visits your website will have to go through adf.ly link to get access to it. It will create a session, to check if user has already visited the site.. if user closes the browser it will make the user go through link again!
How it works.
- Someone goes to your website
- Script will check if they've already made clicked on adf.ly link and finished the ad. NOTE: If web browser is closed, script will forget everything and make user go through adf.ly again.
How to use this script.
I've two files, index.php and callback.php, index.php contains the code you should post in your website's main page. Just copy paste the code. Don't forget the PHP tags though. I've also got callback.php file there's not much you need to know about it, if you're a developer have a look.
What changes you need to make for this script to work.
All you need to do is, where it says $adf_link change it to your adf.ly link. And in callback.php file where it says $secret_key change it to whatever key you wish.
For this script to work you need to shrink adf.ly link in a certain way, here's what needs to be shrinked.
Example:
www.websitename.com/callback.php?secret_ley=your secret key Just shrink it!
Once shrinked, just do whatever I said above about replacing the link and key.. and you're done!
Download:
Website scripts and development tutorials: Force visitors to go through adf.ly link! (http://www.webdevtown.com/2015/05/well-this-little-idea-come-to-my-mind.html)
Greetings ,
this little idea come to my mind recently where anyone who visits your website will have to go through adf.ly link to get access to it. It will create a session, to check if user has already visited the site.. if user closes the browser it will make the user go through link again!
How it works.
- Someone goes to your website
- Script will check if they've already made clicked on adf.ly link and finished the ad. NOTE: If web browser is closed, script will forget everything and make user go through adf.ly again.
How to use this script.
I've two files, index.php and callback.php, index.php contains the code you should post in your website's main page. Just copy paste the code. Don't forget the PHP tags though. I've also got callback.php file there's not much you need to know about it, if you're a developer have a look.
What changes you need to make for this script to work.
All you need to do is, where it says $adf_link change it to your adf.ly link. And in callback.php file where it says $secret_key change it to whatever key you wish.
For this script to work you need to shrink adf.ly link in a certain way, here's what needs to be shrinked.
Example:
www.websitename.com/callback.php?secret_ley=your secret key Just shrink it!
Once shrinked, just do whatever I said above about replacing the link and key.. and you're done!
Download:
Website scripts and development tutorials: Force visitors to go through adf.ly link! (http://www.webdevtown.com/2015/05/well-this-little-idea-come-to-my-mind.html)