NP_Fortune.php

NP_Fortune displays a random quote, similar to the “fortune” program. It requires a text file with one quote per line. Upon each request, the text file is being read and a random line is chosen for output. Due to disk caches, the performance impact should not be too big. High-traffic sites with several requests/second most likely shouldn't use this one, though.

Download at http://www.tillgerken.de Current version at: http://www.tillgerken.de/files/nucleus/NP_Fortune.0.1.tar.gz


Will there be any problems having 70-300 regular visitors? -ea


[!] The direct link is not functioning, but you can get the code at slavepath.net

Forum thread: http://forum.nucleuscms.org/viewtopic.php?t=2473

fortune.txt · Last modified: 2006/07/05 13:03 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki