|
|
|
|
|
|
![]() |
#5 |
With $10,000, we'd be millionaires! We could buy all kinds of useful things like ... love!
|
I use a PHP include when I want a list of random links
My random.php is Code:
<?php $codes=array( array('http://www.paysite.com?with&tracking&id','http://www.paysite.com/','PaySite Name'), array('http://www.paysite2.com?with&tracking&id','http://www.paysite2.com/','PaySite2 Name'), array('http://www.paysite3.com?with&tracking&id','http://www.paysite3.com/','PaySite3 Name'), ); shuffle($codes); $i=0; if(!isset($number)) $number=5; while(list(,$code)=each($codes)){ if($i>=$number){break;} echo '<a href="'.$code[0].'" title="'.$code[2].'" onmouseover="window.status=\''.$code[1].'\';return true" onmouseoout="window.status=\'\';return true">'.$code[2]."</a><br />\n"; $i++; } ?> I have different scripts for different niches. (rand-amateur.php, rand-bbw.php, rand-fetish.php, etc) Where-ever I want 5 random links I call Code:
<?php include('/home/path/to/random.php'); ?> Code:
<?php $number=12; include('/home/path/to/random.php'); ?>
__________________
Playboy Webmasters - The name says it all! $35 per signup or 60% revshare. |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | Rate This Thread |
|
|