Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   Programming & Scripting (http://www.greenguysboard.com/board/forumdisplay.php?f=15)
-   -   Need CCBill Link Generator Script! (http://www.greenguysboard.com/board/showthread.php?t=42767)

mariah 2007-09-15 07:37 PM

Need CCBill Link Generator Script!
 
Does anyone have the script that allows the affiliate to enter his/her assigned CCBill ID for my program and it auto generates the FHG's link and tour links with their IDs?

I hate sending out those emails with the big XXXXXX in the links and have to hope that they get it right...as of today I get 3 or 4 affiliate account signups with no ID assigned to them because they dont get the link codes right! I don't mind the extra 60% that they are missing, but at the same time they deserve the credit for the sales!

Help would be beautfiful!

xoxoxo
Mariah
|headbang|

Llam4 2007-09-16 03:59 AM

You have a few options: Pull their ID out of your user database, pull their ID out of their login cookie or ask them to input their ID into a textbox to be generated.

After that, it's a simple as:
echo "http://www.pornsite.com/page.php?id=$IdVar";

IdVar being the user ID you extracted.

I'm assuming you use PHP because your tracking page is PHP.

virgohippy 2007-09-18 03:17 AM

This should do the simple form/textbox process Llam4 described. Anything more would have to be set up by someone familiar with your existing script.

The form to get the CCBill ID:

Code:





The code to get the variable passed by the form:
Code:

$affiliate_ccbill_id = (int)$_POST['affiliate_ccbill_id'];
if ($affiliate_ccbill_id==0) {
        $affiliate_ccbill_id = "XXXXX";
}
?>



All times are GMT -4. The time now is 03:08 AM.

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