What is it ?
Random Text Displayer is a simple script to display a Random Text on
your web page. It sould be use on serveur with Server Side Include (SSI).
System Requirements:
- Perl 4.0 or newer; you can get it at http://www.perl.com/
- A web serveur, you must have access to add / execute CGI scripts.
Download current version
Current version is v1.01, created 05/30/99, last modified 07/15/99.
Download source code / scripts and documentations :
Tar/Gzip archive : RandomText.tar.gz (0 Ko)
DOS Zip format : RandomText.zip (0 Ko)
What this archive contains ?
This archive comes with 5 differents files:
1) COPYING: Copyright informations (GPL).
2) README: This file.
3) LISEZMOI: French doc...
4) random-text.cgi: The Perl script.
5) Random-Text.txt: Example of text file.
Installation and Configuration:
It's a Perl script, so installation is pretty easy. You don't need to
compile anything.
Copy random-text.cgi in your /cgi-bin/ directory
Make it executable, unix only (chmod a+rx random-text.cgi)
Edit random-text.cgi, you will have to do some configuration:
Change #/usr/bin/perl, if it's necessary...
Change in "Necessary Variables Section"
$RandomTextFile = "/Absolute/path/to/Random-Text.txt";
Text file path.
$Delimiter = "\n--NEXT--\n*";
Delimier text TAG;
Options:
Configure this if you want logs users...
$UseLog = 0; # Use Log File ? 1 = YES; 0 = NO
$LogFile = "/Absolute/path/to/Random-Text-Log.txt";
Edit Random-Text.txt, add your texts.
You should use --NEXT-- to change text.
How to run it ?
Add in your web page :
<!--#include virtual="/cgi-bin/random-text.cgi"-->
Version history:
Version 1.01 07/15/99 - Script Updated.
- Add French comments.
- Change Delimiter...
Version 1.0 05/30/99 - Archive Created.
Copyright:
This software is copyright (C) 1999 Frederic TYNDIUK. It is distributed
under the terms of the GNU General Public License (GPL). Because it is licensed
free of charge, there is NO WARRANTY, it is provided AS IS. The author can not
be held liable for any damage that might arise from the use of this software.
Use it at your own risk.
See the file COPYING for more details (or http://www.gnu.org/).
Updates ?
Latest version and New Scripts can be found at:
http://www.ftls.org/en/
Contact:
Please feel free to contact me with any comments, suggestions, bug fixes
criticism, or just a happiness messages.
If you run into any problems while trying to configure these scripts
first read this file carefully, if you don't find any solution, send me a Mail.
E-Mail: tyndiuk@ftls.org
Web: http://www.ftls.org/
Frederic TYNDIUK