|
|||||
| Green Apple's /cgi-public Scripts | |||||
| doc title: Green Apple's /cgi-public
Scripts orig date: 04-17-99 last update: 07-01-01 |
|||||
|
|
|||||
| Green Apple has
tailored a number of CGI (Common Gateway Interface) scripts to make them
usable by the general public.
Clocks: Clock displays show the current time. The current time is defined as
the web serving machine time. To add a
clock to your website, cut and paste the following code: The above code should display the following: Current Green Apple time:
Date: The date used in a Date display is that of the web serving machine. To run this script from your homepage, cut and paste the following line of code: Current Green Apple date: The resulting display should look like Current Green Apple date:
Counters: Try cutting and pasting the following line of code into your web page, substituting the [df=jdoe.dat] with [df=your_login.dat] Number of Hits: <img src="../cgi-public/Count.cgi?dd=D|df=jdoe.dat|frgb=0;0;0|ft=2"> The result should look like Number of Hits:
Note: We stress the importance of changing the name of the .dat file. The counter file is generated automatically when referenced by a web page. To keep an accurate count, you will need to use a unique 'df=' name. Form Mail: What is form mail? Form mail
is a script which can be used to generate an email message from a HTML web
page. For details on setting up a form mail web page, click
here. |
|||||
|
|
|||||
|
|