Professional Documents
Culture Documents
Brought To You By:: Important
Brought To You By:: Important
Brought To You By:: Important
com
The user must send a certain number of visitors to your site using their unique referral
code.
Once the user completes the required number of referrals , a link is shown where they can
now download the FREEBIE
On the FREEBIE page , a content locker is installed and the user must now complete a
survey to get the FREEBIE.
**IMPORTANT ** You must create a link locker with your network that will redirect
them to the proper url upon completion of the offer.
Once on this page the script will automatically check if it is the proper user that had the
referrals. The script is configured to the referrers IP address. This makes it so that the
code generator URL cannot be shared with others. If it is shared and the referrer is not
correct then the script will generate a new Referral Link and tell the user that the IP does
not match and they need to refer a certain amount of users to continue.
INSTALLATION:
PHP Code:
CREATE TABLE IF NOT EXISTS `cookie_ref` (
`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 ;
CREATE TABLE IF NOT EXISTS `cookie_ref_ips` ( `IP_id` bigint(20) NOT NULL AUT
O_INCREMENT,
`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 'yoursite.com' to your website url in the index.php file on line 150
Change the 'yoursite.com' to your website url in the code-gen.php file on line 149
Change the Gateway script from your Network in the complete.php file on line 45
Example of code:
<script
src="http://www.contentlockingnetworks.com/gLoader.php?GID=18443&go=&sid="
type="text/javascript"></script>
Change the Gateway (onclick or gload code) from your Network in the complete.php
file between lines 91 thru 147 (all code to be changed has comment mark ups)
You have 13 lines of code to change since there are 13 items in the slider.
HINT: On the items marked redeemed, you can eliminate the OnClick code. This will
make it appear that the items are truly unavailable.
Auto-Refresh:
The Script will make the page automatically refresh so the users can see if any visited the site
through their link. The default is set to refresh every 2 minutes.
PHP Code:
<?php
header("Refresh: 120;");
?>
On the top of the files index.php and code-gen.php is the above code. Just change the
increments by 60 to increase time (ie: 180 means 3 minutes or 180 seconds)
index.php
code-gen.php
complete.php
code/codegen.php
Insert the new codes (one per line into the txt file)
The script randomly chooses one of the codes from the codes.txt file
BlackhatBuzz