View Single Post
Old 11-15-2006, 08:25 PM  
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,481
write a random function

$file = "urls.txt";
$fp = file($file);
srand((double)microtime()*1000000);
$urls = $fp[array_rand($fp)];
echo $urls;

could do that and call it from

<a href="<?include "random.php"?>">

and if they must be .html pages you could add to .htaccess

RemoveHandler .html .htm
AddType application/x-httpd-php .php .htm .html .inc

dont know if thats what you are looking for or not
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


My Cam Feeds Script
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote