![]() |
Rotational gallery Script
I am looking for a free rotational Gallery Script.
Any suggestion? |
I suggest php, 10 lines of code and a text file and you are all set.
|
Quote:
|
Quote:
$delim = "\n"; $cryfile = "filename.txt"; $fp = fopen($cryfile, "r"); $contents = fread($fp, filesize($cryfile)); $cry_arr = explode($delim,$contents); fclose($fp); srand((double)microtime()*1000000); $cry_index = (rand(1, sizeof($cry_arr)) - 1); $herecry = $cry_arr[$cry_index]; echo $herecry; ?> That will do it |
Thanks guys!
|
All times are GMT -7. The time now is 07:07 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123