Is there a script that does affiliate link hiding and counting of out-clicks? I could do this with a traffic trade script, but that is more software than I really want, or I could write it myself, but I have enough on my plate already; I'd rather buy a script...
Affiliate link hiding
Collapse
X
-
If all you want is a basic way to to hide the link code from the visitor and count the clicks it's as simple as something like:
yoursite.com/link.php?url=pornosite.org
link.php:
<?php
$url = $_GET['url'];
$file = $url;
$hit = file_get_contents ($file);
$hit = intval($hit) + 1;
file_put_contents($file, $hit);
header('Location: https://www.'.$url.'/affiliatecodestuff=123456');
?>
Obviously you can add to that with more security or logging, preventing the same IP registering more than once, etc.__________________Comment
-
you could use easiest solution like bit.lyViktoriia BizDev at AdsEmpire *[email protected]*
Telegram: @viktoriia_adsempireComment

Comment