![]() |
Gallery Rotating script
This has probably been asked before, but you need a fucking roadmap to find your way through this board's search ... hehehe
It's easier to just ask again - Does anybody have a decent, easy script to rotate galleries ? I mean many sponsors have their own, and that is great, but what about if we want to compile massive lists of different sponsors' galleries, say separated by commas, and then randomize that? I cannot see that being a very difficult script at all ... if it were written in BASIC, I could do it myself, but I am not well versed in PHP or ASP. :( Thanks |
Save the below as rotate.php and list your galleries one per line as 'gallery_list.txt' - change / to < and >.
:thumbsup /? mt_srand((float)microtime()*1000000); $f=file("gallery_list.txt"); $u=trim($f[mt_rand(0,sizeof($f)-1)]); header("Location: $u"); ?/ |
drop me an icq, i probably got exactly what your looking for :thumbsup
|
or me, ive got something that you may like also:winkwink:
|
yeah but mines much better :Graucho
|
All times are GMT -7. The time now is 05:14 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123