GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Affiliate link hiding (https://gfy.com/showthread.php?t=1351004)

Clam 12-28-2021 05:44 AM

Affiliate link hiding
 
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...

Klen 12-28-2021 06:18 AM

There used to be one free script but it was terribly written and using it on big traffic would backfire. I am sure there are other scripts which doing same, but writing it on your own is so trivial so that is better choice anyway.

Clam 12-28-2021 08:28 AM

Yeah, you are probably right. I guess I'll get to work... :D

money biz 12-28-2021 08:55 AM

Maybe a short url script? I use one off codecanyon for link tracking.

ZTT 12-28-2021 09:45 AM

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.

WiredGuy 12-28-2021 03:03 PM

You could use .htaccess if you're not looking for anything overly complex.
WG

AdsEmpire 12-29-2021 05:39 AM

Quote:

Originally Posted by Clam (Post 22948040)
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...

you could use easiest solution like bit.ly


All times are GMT -7. The time now is 03:14 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc