Greenguy's Board


Go Back   Greenguy's Board > General Business Knowledge
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2005-08-01, 12:28 AM   #1
tickler
If there is nobody out there, that's a lot of real estate going to waste!
 
tickler's Avatar
 
Join Date: Dec 2003
Posts: 2,177
Quote:
Originally Posted by CelticTiger
It may be basic but you might want to explain that a little better to someone who doesn't know anything about php
Sorry folks, I assumed that most people were up to some basic PHP.

So here goes:
Take your link on your page that looks something like:
http://www.latinapaysite.com/link.php?account=123456
and replace it with a line that looks like:
http://www.yourdomain.com/latinapaysite.php

Now create a file with:
PHP Code:
<?
$GOTO_URL 
"http://www.latinapaysite.com/link.php?account=123456";
header("Location: ".$GOTO_URL);
?>
</HTML></BODY>
And save it as:
http://www.yourdomain.com/latinapaysite.php
So now you just need to change the $GOTO_URL value to any new linking code when required. It saves having to go change individual pages, and making all the TGP/MPG/LL scripts mad.

Major Stress: The PHP files do the same thing. I use the variable because most of my script are choosing from multiple links like PPS or Revshare.

SexCityBrian: Most places don't allow SSIs on free sites or galleries.
__________________
Latina Twins, Solo, NN, Hardcore
Latin Teen Cash
tickler is offline   Reply With Quote
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
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:09 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc