Online Manual

Random Text Generator

This script is preconfigured for your server.
But please note, that you have to activate it first. For security reasons, it's not enabled by default.
In order to activate it, simply log into your account, change to your /cgi-bin, and change the file permission of the file randomtext.cgi to 755 or rwxr-xr-x

There is a directory in your www directory called "random." Inside that directory is a file called "random.txt". Just download this file to your hard drive and edit it with any random text you would like placed in an html document. Remember to keep the %% separator between quotes. You can use any html formatting tags you want to, including <href> tags so you can configure it as a random link generator. You can put in as many quotes as you wish.
Upload the random.txt file to your server in the same location you found it, remembering to upload it in ASCII or text mode.

The script uses SSI (Server Side Includes) so the page you want to use random text on must have the .sht, .shtm, or .shtml extension. On your page, just put this tag wherever you want the random text to appear:

<!--#exec cgi="/cgi-bin/randomtext.cgi"-->

That's all there is to it!

Click here for a demo.

 

Return To Menu

- Last modified on 3/16/2003 -


Home / Hosting / Domain Lookup / Support / Email Contact

© 1998-2024 Spunkyworld Internet Services - All rights reserved