Referral Addon Here is referral addon that I had someone on scriptlance create for me. The script puts a cookie on a users computer when they visit the auction. When they sign up for the auction, the cookie will automatically put the username in the referral box on the sign up page so the username won't have to be manually entered. If you would like to give a $1 or $2 (Paypal christianwebman@aol.com) to help cover the cost, it would be greatly appreciated. Everyone is welcome to use this script. Email me with any questions. I will most likely have more things done on scriptlance in the future so if you have any ideas, let me know. Step 1. Save the following refer.php after you edit and your in your url in the 4 places required This script justs sets a cookie
If your browser is now redirected to our home page in 5 seconds,
please click HERE.
Step 2. Upload it to your /cgi-bin/auction/ folder and set permissions to 755 Step 3. Open auction.pl and in your sub reg, find this line: my $ip = $ENV{'REMOTE_ADDR'}; add this right above it: use CGI qw/:standard/; my $query = new CGI(); my $cookie = $query->cookie('referedby'); Step 4: Find this line: Referred by User Alias:
and replace it with this: Referred by User Alias:
Upload the files and you should be all set. Your referral url will be http://www.yourauction.com/cgi-bin/auction/refer.php?referedby=USERNAME