View Single Post
Old 01-30-2011, 07:23 PM  
selena
Confirmed User
 
selena's Avatar
 
Join Date: Aug 2004
Location: On The Edge
Posts: 7,992
Quote:
Originally Posted by tonyparra View Post
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.
__________________
~
Doer of Things at
MetArtMoney
Where Flawless Beauty Meets Art
~The MetArt Network ~
selena.delgado9
selena is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote