Hiding Your Clickbank Affiliate ID:
1.
Enter Your Clickbank nickname
2.
Press "Add Affiliate ID" button
3.
Press "Highlight Text button"
4.
Copy the highlighted text (CTRL-C) and save text in a file called go.php. Be sure that ?> is the last line in the file.
<?php /***************************************************************************** * Filename: go.php * * Copyright 2004 Richard Hanson, All Rights Reserved info@hot-sellers.net * * Created 09/01/2001 Last Modified 03/22/2004 * * * * * * Home Page: http://www.hot-sellers.net * ***************************************************************************** * COPYRIGHT NOTICE * * Copyright 2001-2004 Richard Hanson All Rights Reserved. * * * * End User Licence Agreement * * Registered owners may modify the source code as long as the copyright * * and headers remain intact. You may not distribute this source code in * * any manner. * *****************************************************************************/ $Version = 1.03; // usage go.php?p=1 // p is the product number $affiliate = "xxxxx"; $form = strip_bad_stuff(decode_vars()); $product = $form["p"]; if (!isset($form["p"]) AND empty($form["p"])) { $redirect_url = "http://www.klikthis.com/go.php?id=$affiliate&p=1"; } else { $redirect_url = "http://www.klikthis.com/go.php?id=$affiliate&p=$product"; } header("Location: $redirect_url"); exit; // ------------------------------------------------------------------------ /* Read Variable Information*/ function decode_vars(){ global $HTTP_POST_VARS; global $HTTP_GET_VARS; if (getenv("REQUEST_METHOD") == "GET"){ $a = $HTTP_GET_VARS; } else { $a = $HTTP_POST_VARS; } return $a; } /* Remove Bad Data */ function strip_bad_stuff($data){ while(list($key,$val) = each ($data)){ if ($val){ $temp = $val; $data[$key] = eregi_replace("<!--(.|\n)*-->","SSI REMOVED",$val); $data[$key] = eregi_replace("\%00","",$val); $data[$key] = ereg_replace("../","",$val); } } return $data; } ?>
5.
Upload go.php to your website.