View Single Post
Old 2005-08-01, 02:29 AM   #2
Halfdeck
You can now put whatever you want in this space :)
 
Halfdeck's Avatar
 
Join Date: Oct 2004
Location: New Haven, CT
Posts: 985
Send a message via ICQ to Halfdeck
Another alternative is to use one link.php file and rewrite paths using .htaccess.

On my server, I'd have a folder /visit/ and have one php file there named links.php. Then I'd use links like "/visit/hornymilkmaids/", "/visit/grocerystorerobbingsluts/" that rewrite to /visit/links.php?pid=4556

Then the link.php will pull the ref code in the MYSQL db and redirect to the paysite tour:

PHP Code:
<?php

$paysite 
= new Paysite($_REQUEST['pid']);
header("location:" .$paysite->ref_code);

?>
__________________
Success is going from failure to failure without a loss of enthusiasm.
Halfdeck is offline   Reply With Quote