Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Today's Posts

 
 
Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 2006-09-21, 08:05 AM   #4
lorsha
So much sperm ... So little time!
 
lorsha's Avatar
 
Join Date: Aug 2005
Posts: 1,433
Quote:
Originally Posted by Toby View Post
Mariah,

This is really pretty simple, with just a couple of snippets of PHP code.

First, your galleries need to be PHP pages rather than HTML. Simply change the file extension to .php
The links will then look something like this: http://www.mariahxxx.net/galleries/gal01.php?aff=644425

Next, wherever you need an affiliate link within the gallery you use the following:
PHP Code:
<a href="http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=923596-0002&PA=<?= $_GET['aff'?>">
That little snippet at the end with the ?'s and the $_GET grabs the affiliate ID from the gallery URL and inserts it into the referral link.

That's it, no more building custom affiliate galleries and you now have affiliate friendly hosted galleries.
Worked out great for me, thanks to Toby.
__________________
Sexy-Milf-Money
lorsha is offline   Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:54 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc