![]() |
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 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 :) |
Are you pulling ccbill link from browser bar or from variable ?
|
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!
|
Quote:
|
Quote:
|
Quote:
|
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. |
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.
|
Quote:
Correction, it credits the sale to the AFFILIATEID, it doesn't show the actual affiliate ID anywhere in the page code. |
Quote:
|
I have a headache from reading all this shit.
|
All times are GMT -7. The time now is 07:21 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc