Thread: Help with PHP
View Single Post
Old 10-11-2003, 02:16 PM  
pornanza
Confirmed User
 
Join Date: Jul 2003
Location: East Village
Posts: 238
PHP Code:

<?php

 $links 
5;

 
$a file('a.txt');
 
$b file('b.txt');
 
$c file('c.txt');


 for (
$i 0$i $links$i++) {

  
$link $a[rand(0sizeof($a)-1)] . '-' $b[rand(0sizeof($b)-1)] . '-' $c[rand(0sizeof($c)-1)];
  echo 
"<a href=\"http://www.url.com/$link.shtml\">" str_replace('-'' '$link) . "</a><br />\r\n";

 }


?>
ryan
http://pornanza.net
pornanza is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote