Greenguy's Board


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

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2007-09-15, 07:37 PM   #1
mariah
Well you know boys, a nuclear reactor is a lot like women. You just have to read the manual and press the right button
 
Join Date: Mar 2004
Location: los angeles
Posts: 155
Send a message via ICQ to mariah Send a message via Yahoo to mariah
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
mariah is offline   Reply With Quote
Old 2007-09-16, 03:59 AM   #2
Llam4
A woman is like beer. They look good, they smell good, and you'd step over your own mother just to get one!
 
Join Date: Sep 2007
Location: Arizona
Posts: 52
Send a message via AIM to Llam4
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.
Llam4 is offline   Reply With Quote
Old 2007-09-18, 03:17 AM   #3
virgohippy
Madness is like gravity. All it takes is a little... push.
 
virgohippy's Avatar
 
Join Date: Feb 2006
Location: California
Posts: 1,679
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:
<form name="form" method="post" action="page.php">
<input name="affiliate_ccbill_id" type="text">
<input name="submit" type="submit" value="Set ID">
</form>
The code to get the variable passed by the form:
Code:
<?php 
$affiliate_ccbill_id = (int)$_POST['affiliate_ccbill_id'];
if ($affiliate_ccbill_id==0) {
	$affiliate_ccbill_id = "XXXXX";
}
?>
__________________
~Warm and Fuzzy.
virgohippy is offline   Reply With Quote
Reply


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 05:53 PM.


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