i need a gallery rotator script anyone know of any good ones?
gallery rotator script
Collapse
X
-
Tags: None
-
-
Screw that perl shitOriginally posted by QualityMpegs
Works like a charm... http://www.scriptarchive.com/rand_link.html
contact me and I'll send you a 7 line php solutionComment
-
Originally posted by 4Pics
post the 7 line php script. maybe someone can make it 6 lines
yeah! what he said...
Comment
-
<(?)php
// geef random "$display" aantal links weer uit een text file genaamd "$file"
function random_links($file, $display) {
$filenaam = $file . '.txt';
$f = file($filenaam);
srand((double)microtime()*1000000);
for($c=0; $c<=$display; $c++) {
$i = rand(0,count($f)-1);
list ($url, $desc) = split("\|", $f[$i]); $desc = rtrim($desc);
echo '<a href="'.$url.'">'.$desc.'</a><br>';
}
} // einde functie: random_links
?>
<(?)php
random_links('http://??????', 25);
?><a href="http://www.sexmoney.com/?adsid=59343" target="_blank"><img src="http://www.sexpiraat.nl/sexmo.gif"></a>Comment
-



Comment