You are here: Re: How do I put random quotes on my web site? « HTML « IT news, forums, messages
Re: How do I put random quotes on my web site?

Posted by Nick Theodorakis on 03/11/06 20:03

Chris Ianson wrote:
> Hi, I'm looking for a simple newbie way to put quotes into HTML code, and
> have them randomise each time the page is refreshed. What's the easy
> solution?
>
> Thanks in advance.
>
>

You can't do this only with html; you need some kind of scripting
language. There is a premade script for this on the nms website:

<http://nms-cgi.sourceforge.net/>

Their scripts can be found here:

<http://nms-cgi.sourceforge.net/scripts.shtml>

The one you want is called "Random Text"

You need cgi/perl on your host (and ssi enabled), and know how to change
permissions on your cgi file.

An example of this script in action can be found here:

<http://www.stjohnsroch.org/randomquote.html>

Nick

--
Nick Theodorakis
nick_theodorakis@hotmail.com
contact form:
http://theodorakis.net/contact.html

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация