CGI Avail
Home

Available CGI "Scripts"

Please Note:  We are currently revising this entire area on the new server.  Please be patient! -=dave=-

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Please Note: For security purposes, the so-called CGI "Scripts" on this domain are actually compiled, executable programs.

"It won't work!"??   After you have uploaded the "stubborn" page, contact a member of the Web Team and we will have a look at your source code and try to help resolve the problem.

Page Editor's Note:  I have been forced to drop the font size on the examples of code shown on this page.  It probably will be easier for you to simply print a copy of it for reference.

Counter.exe | Digit sets | Clock.exe

Do you want a "Hit Counter" on your Web Page?

If so, you can insert the following code at the desired location on your page:

Read Carefully - "youruniqueidentifier" is the key to making it work!

<img src="http://www.calodges.org/cgi-bin/counter.exe?youruniqueidentifier"> then replace "youruniqueidentifier" with the unique identifier you will use for the counter on the page it will appear on...  for instance, on the Victorville Lodge No. 634 home page, the following code would be placed on the page www.calodges.org/no634/index.htm:
<img src="http://www.calodges.org/cgi-bin/counter.exe?634counter1"> (634counter1 being the "unique identifier" they selected for the counter on their home page)..  For subsequent pages, they could use "634counter2" and so forth.

Example:
<img src="http://www.calodges.org/cgi-bin/counter.exe?CGIavail> on this page, created the counter below:

Usage: counter [-f<fg clr>] [-b<bg clr> | -t<t idx>] [-s<style>] [-w<#>]   <item> >

-f<fg clr> - color to render foreground in.
-b<bg clr> - color to render background in.
-t<t idx> - index to color which should be transparent.
-s<style> - name of number style (#style.gif).
-w<#> - width of counter in # of digits.
-h - hidden, builds a transparent one by one GIF.
<item> - unique identifier for counting.  (Be especially careful to use something "unique" for your unique identifier - one way would be to use your lodge number, followed by "counter" then by a digit such as "634counter1")..

 

Some More Advanced And Complicated Examples:

HTML Example:
<img src="http://www.calodges.org/cgi-bin/counter.exe?-f0000FF+-bFF0000+youruniqueidentifier">

This will put the graphic in your page. The last argument, "youruniqueidentifier" creates a log which is created in the directory where the program resides. This allows you to have the count be updated. You can also have many counts using only one program, by just passing different names. This particular one will create BLUE numbers on a RED background using the default digits.

"CGIavail1"

Another HTML Example: <img src="http://www.calodges.org/cgi-bin/counter.exe?-t0+-f00FF00+youruniqueidentifier">

This will create GREEN numbers on a TRANSPARENT background using the default digits.

"CGIavail2"

This one uses -t0=-f008080 to acheive a different shade of green:

"CGIavail3"

Yet Another HTML Example: <img src="http://www.calodges.org/cgi-bin/counter.exe?-sa+youruniqueidentifier">

This creates numbers using the "a" style. It will look for the GIF files we have placed on the server:

"CGIavail4"

A final example using the "amini" style:
<img src="http://www.calodges.org/cgi-bin/counter.exe?-samini+youruniqueidintifier">

"CGIavail5"

Available Digit "Styles"

Here are the available "styles" produced from sets of GIF 
files representing digits which are available for your use by calling on them with the "-s" argument.  (ie:  -sa or -samini or -sbar - etc)

Style "a" = a.gif (8178 bytes)

Style "amini" = amini.gif (2530 bytes)

Style "bar" = bar.gif (9664 bytes)

Style "bckblue" = bckblue.gif (3802 bytes)

Style "bck-grn" = bck-grn.gif (3680 bytes)

Style "bck-old" = bck-old.gif (3779 bytes)

Style "bckorng" = bckorng.gif (3760 bytes)

Style "bckpink" = bckpink.gif (3755 bytes)

Style "bck-red" = bck-red.gif (3736 bytes)

Style "bckturq" = bckturq.gif (3779 bytes)

Style "bck-ylw" = bck-ylw.gif (3212 bytes)

Style "blueodo" = blueodo.gif (3154 bytes)

Style "default" = default.gif (429 bytes)

Style "fatpt" = fatpt.gif (3545 bytes)

Style "mgreen" = mgreen.gif (806 bytes)

 

Do you want a "Digital Clock" on your Web Page?

If so, you can insert the following code at the desired location on your page:

Work in progress on this one - check back soon!

Home

Page Updated December 19, 2003