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 scripts-cms.blogspot.com
Updated to V2Changes:
-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
Download Viral Referral Script
Installation:
- Create a database in cpanel and then go to phpmyadmin and under SQL (Don't forget to select your database) in your database past the following code:
`REF_id` bigint(254) NOT NULL AUTO_INCREMENT,
`REF_val` varchar(254) NOT NULL,
`REF_hits` int(1) NOT NULL,
PRIMARY KEY (`REF_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ;
`IP_address` varchar(20) NOT NULL,
`REF_val` varchar(50) NOT NULL,
PRIMARY KEY (`IP_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;
- 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)
header("Refresh: 120;");
?>
Then it should work!
Very nicescript but howto count refferal click from same ip address only after 24 hours.ie,users can click on theirreferral link one time in a day PLEASE HELP
ReplyDeleteI think it has that kind of feature.
ReplyDelete