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-16, 03:59 AM   #1
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   #2
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 10:46 AM.


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