You can come up with a lot of fun things to do with random numbers on your page. Sometimes the best joke is just to put a random number in an innocent looking place, and wait for people to wonder why it's different each time they visit!
Installing the random number generator is similar to installing the counter. But this time, you'll have to copy the random number program to your directory, edit it, and then make your .shtml file call it. Here are the steps:
cp /user/mpg/public_html/cgi-bin/random.perl .Make sure you include the final period and separate it from the word 'perl' by a space!
chmod 755 random.perl
<!--#exec cgi="random.perl"-->
Each time someone retrieves your document, the program will replace that line with a random number. It's simple! Here's what the random number generator will do: