Quote:
Originally Posted by tonyparra
I have pretty links pro been using it for a year, but trying to find other options. see some nice ones here, im interested in the php way i would like to learn...if masking links is blackhat i wear a very black hat cus i try to hide everything ...
|
The way that I do it is really easy.
Say you create a php file called tonylinks and put it on your server.
Code:
<?php
$path = array(
"paysitename1" => "http://www.actual-link-code",
"paysitename2" => "http://www.actual-link-code"
);
if (array_key_exists($_GET["id"], $path))
header("location: " . $path[$_GET["id"]]);
?>
You can add as many lines with variables to it as you want, just make sure that the last one does not have a comma after it.
Imagining that you had placed the tonylinks.php file in your
www.hotchicks.com directory, then when you want to link to Paysite #1, your link would be
http://www.hotchicks.com/tonylinks.php?id=paysitename1
If you ever need to redirect the traffic to someplace else, just change the actual link code in the php file.