Not sure how many people here can answer this question, but let's try anyway.
Instead of directly linking to an affiliate page, I'm linking to a php file which has an array with the links..
so instead of this -
I now do this -
bounce.php looks like this -
bounce.php gets the id of the link, and redirects to the appropriate page without a problem
so everything works except I'm not sure if this is allowed?
I'm doing this with linkshare and cj links... I know CJ has an <img> after the links, I'm not sure what it's for but I know I shouldn't remove it... does that still work in this case?
Instead of directly linking to an affiliate page, I'm linking to a php file which has an array with the links..
so instead of this -
Code:
<a href="http://www.affiliate.com?id=243993284092348092384">my link</a>
Code:
<a href="bounce.php?id=1">my link</a>
Code:
$id=$_GET['id'];
$links[1]="http://www.affiliate.com?id=243993284092348092384";
header("Location: $links[$id]");
so everything works except I'm not sure if this is allowed?
I'm doing this with linkshare and cj links... I know CJ has an <img> after the links, I'm not sure what it's for but I know I shouldn't remove it... does that still work in this case?