Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
06-05-2023, 10:54 PM | #1 |
Confirmed User
Industry Role:
Join Date: Oct 2018
Location: New Orleans, Louisiana.
Posts: 770
|
Why isnt this code pulling the CCBill affiliate ID?
I'm using the following php code, which I was under the impression should allow me to pull the &PA=AFFILIATEID from a standard CCBill link:
Code:
http://refer.ccbill.com/cgi-bin/clicks.cgi?CA=XXXXXX-0000&PA=AFFILIATEID Code:
<?php $affiliateCode = isset($_GET['PA']) ? $_GET['PA'] : ''; ?> Code:
<?php echo $affiliateCode; ?> I notice when you use CCBill links there is a redirect to the main https://www.domain.com of the site, is there a way to capture the affiliate code prior to the redirect happening (or an easier way I'm missing)? Thanks for any advice, feedback, solutions |
06-06-2023, 12:47 AM | #2 |
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,234
|
Are you pulling ccbill link from browser bar or from variable ?
|
06-06-2023, 12:57 AM | #3 |
Bollocks
Industry Role:
Join Date: Jun 2007
Location: Bollocks
Posts: 2,792
|
Those $_GET params are only available to the script that they are applied to, i.e. refer.ccbill.com/cgi-bin/clicks.cgi - they are not available to the script it redirects to. That would be a massive massive security and privacy flaw, if one script could read another script's parameters!
__________________
Interserver unmanaged AMD Ryzen servers from $73.00 |
06-06-2023, 10:30 AM | #4 |
Confirmed User
Industry Role:
Join Date: Oct 2018
Location: New Orleans, Louisiana.
Posts: 770
|
From the browser but I guess it could also be pulled from code within the tour itself?
|
06-06-2023, 10:31 AM | #5 | |
Confirmed User
Industry Role:
Join Date: Oct 2018
Location: New Orleans, Louisiana.
Posts: 770
|
Quote:
|
|
06-06-2023, 10:59 AM | #6 |
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,234
|
|
06-06-2023, 01:07 PM | #7 | |
Bollocks
Industry Role:
Join Date: Jun 2007
Location: Bollocks
Posts: 2,792
|
Quote:
You would have to take a different approach and get affiliates to send traffic to a landing page on your site which captures the params, constructs the CCBill URL with them and then redirects to it, which will then redirect the user back to your home page.
__________________
Interserver unmanaged AMD Ryzen servers from $73.00 |
|
06-06-2023, 02:05 PM | #8 |
making it rain
Industry Role:
Join Date: Oct 2003
Location: seattle
Posts: 21,855
|
Sometimes I think you're just lazy and don't want to use the correct resources, and then you post something like this and I realize you don't even have a grasp of the basic fundamentals of how the web works.
|
06-06-2023, 06:34 PM | #9 | |
Confirmed User
Industry Role:
Join Date: Oct 2018
Location: New Orleans, Louisiana.
Posts: 770
|
Quote:
Correction, it credits the sale to the AFFILIATEID, it doesn't show the actual affiliate ID anywhere in the page code. |
|
06-06-2023, 06:36 PM | #10 | |
Confirmed User
Industry Role:
Join Date: Oct 2018
Location: New Orleans, Louisiana.
Posts: 770
|
Quote:
|
|
06-06-2023, 07:38 PM | #11 |
Living The Dream
Industry Role:
Join Date: Jun 2009
Location: Inside a Monitor
Posts: 19,321
|
I have a headache from reading all this shit.
__________________
My Affiliate Programs: Porn Nerd Cash | Porn Showcase | Aggressive Gold (Coming Soon) Over 90 paysites to promote! Skype: peabodymedia |
|
|||||||
Bookmarks |
Tags |
code, ccbill, missing, redirect, affiliate, main, links, notice, capture, easier, feedback, advice, site, solutions, happening, prior, https://www.domain.com, normal, pull, &pa=affiliateid, impression, pulling, php, standard, link |