Hello!
I've been looking around the net and asking in lots of forums but no one seemed to find the correct script I was looking for, so I hired someone to code it for me.
And I'm here to share it
What does it do?
This PHP script will make a dynamic referral URL; when the user shares the URL to other people then it will at a referral (once they hit the link); after [10] hits (One is from the main user) it will unlock a [link] as a reward.
Features
-Bound to IP (they cannot get more hits by using another browser
-Easy to use
-Customizable
-And the best of all; I give it FREE, EXCLUSIVE for BHW.
Updated to V2
Changes:
-Is now bound to IP
Updated to V3
Changes:
-Fixed a bug where the referral script would only regenerate 9 random ID's => Is not unlimited
Installation
- Create a database in cpanel and then go to phpmyadmin and down the SQL in your database paste the following code:
-Then use and add the following code:
- Edit config.php-Located in /dbcon/ -and fill in your created DBuser,Pass,DBname
- Change the 'yoururl.com' to your website in the index.php file
- Then you can extract the script from the index.php file, and integrate it in your own page.
OPTIMAL:
If you want the page to automatically refresh, then add the following code at the START of your index.php (before ANYTHING else)
<?php
header("Refresh: 120;");
?>
You can change the refresh time, it is set as 2 minutes in the example.
Then it should work!