- Free PHP Scripts »
- Random Text
Random text / quotes PHP script
Script name: RanTex - random text script
Current version: 1.2
Price: FREE
Download Now
Random Text Rotator
RanTex is a random text script. RanTex will display a random quote or text block from a list of your choice. Text/quotes can contain HTML code so you can make them interactive.
Random quotes can be displyed either using Javascript or used as a PHP include:
<script type="text/javascript" src="rantex.php"></script>
<?php include 'rantex.php'; ?>
Features:
- displays random text or quotes from a list of your choice,
- quotes can be hard-coded or listed in an external file,
- random text can be displayed using Javascript or as a PHP include,
- supports changing display settings on-the-fly (use one copy of the script for both PHP includes and Javascript display mode),
- ... and much more!,
Requirements
- PHP 4.4 or newer
RanTex has been tested on servers under Linux, Windows and FreeBSD operating systems. It should work on any server with a working installation of PHP.
Demonstration
See RanTex displaying random text using Javascript and directly (as an include) here:
Try refreshing the test page to see how quotes randomly changes.
Do you like this free script?
In exchange, please place a link to www.phpjunkyard.com to your website. It can be as simple as a text link or choose one of the banners available here. Thank you!
Be notified of future updates!
Join PHPJunkyard low-volume newsletter to be notified about new scripts, new versions of the existing scripts and other important news. Subscribe here