RandomText will display a random line of text from the file you specify. You can use this at a basic level to display random quotes or tips on your website, or you can take it further and use it to randomize all sorts of aspects of your site. For example, your text file could contain a list of HTML color codes and you could use that to display a random background color.
Visitor Rating:
( 1 vote )
Member Rating:
( 1 member votes )
admin
"Dumb, dumb, dumb. I am finding it ridiculous to have to pay to get such a SIMPLE script as a randomization script. Here's a hint:
Warning: file(./quotefile.txt) [function.file]: failed to open stream: No such file or directory in /home/fatty/public_html/detailed/510.php on line 180
Go to Planet Source Code or something to find a similar script for free. It can be *super* easily modified to suit nearly any use."