Categories

Updated: 06/27/2001

Random File Picker

The script simply takes the name of a directory and returns a random file from within that directory. An example of its use is provided by means of script to play the game Scissors/Paper/Stone. For a live use of this application, the author uses it to simply manage links from his site, it''s quick and easy to add, amend and delete the html link code into files in several directories, and keep thus the links separate from the html formatting of the page. Once a random filename has been selected, the uses of it are vast, as in the example the contents of the file can be displayed or parsed, or for an image file the contents could be displayed via an IMG tag.
Similar Scripts for "Random File Picker"

Txt2html

Txt2html is the original tiny ''no bloat'' program that automates the process of splitting up large text files into nice html pages containing all the necessary hyperlinks to all the other pages. It uses the minimum of formatting so that th...

Create Excel on the Server

This code example demonstrates how to create excel documents on your server. Using the US state info db, after reading the contents of the db instead of writing output to the browser, html text is written to the server with the .xls file extension. A...

Financial Graph

This sample code demonstrates how to create effective graphs using simple html and the output from an access db but without the need for third party components. The example shows the stock performance for Yahoo.

Online Survey Form Administration

The author notes, &"In most web_based database application, webmasters are allowed to administrate their web sites throuth internet. In that way webmaster can maintain database or modify html pages anywhere. Many company''s internet or...

Servlet Essentials

The author notes &"This document explains the concepts of Java Servlets and provides a step-by-step tutorial for writing HTTP Servlets with complete source code for the example Servlets. The tutorial and the other chapters cover all facets o...
©2003-2008 jCay.com