shad.young at sympatico.ca
Tue Oct 22 18:02:04 EDT 2002
Thank you Tim... I knew I had seen it.. now I remember where... during the
On Tuesday 22 October 2002 05:48 pm, Tim Hosking wrote:
> On 22/10/02 5:32 pm, "Shad Young" <shad.young at sympatico.ca> wrote:
> > I have come across a site or two that use the venerable fortunes program
> > to rotate a "quote of the day" on their website... Anybody done this, and
> > if so anybody done it in Python?
> There is a mod_fortune for Apache, but before I discovered that I used to
> simply drop a small file in my cgi-bin directory as follows:
> cat fortune.cgi
> echo "<pre>"
> echo "</pre>"
> exit 0
> Just embed a call to it in your html or whatever and it generates a new
> fortune every time the page is refreshed. Probably a million reason why
> this is insecure, but it works :)
More information about the OCLUG