Images, counters, and other CGIs for your Web pages

We have a variety of backgrounds, icons, and lettering available on the server for you to link to, instead of having to keep them in your public_html directory.

The backgrounds and may be referenced via a URL beginning with <img src="http://www.datasync.com/backgrounds/[file.name]" >

The icons and may be referenced via a URL beginning with <img src="http://www.datasync.com/icons/[file.name]">

Imagemaps

Imagemaps, or clickable images, allow a single graphic to link to more than page depending on where it is clicked. Our server has imagemap support built in. You do not need to use the imagemap or htimage CGIs.

LiveImage is a top of the line shareware image mapping program. Use the NCSA format for your MAP files.

To creatte  your own, simply upload your graphic and MAP file to your public_html directory and reference like this:

<a href="whatever.map">
<img border=0 src="whatever.gif" ISMAP>
</a>

using your file names in place of whatever.map and whatever.gif. Note that the .map extension is mandatory for the MAP file.

The MAP file should contain directives in the NCSA format. For more information, see NCSA's Imagemapping Tutorial.

Counters and other CGI Tools

These tools are already available on our server. Do not try to download and install them yourself! The links below are for background information only. Repeat, do not try to install these in your account. For most, you will need to go into the shell to set up one or more files.

A note about counters: You should not rely on counters, especially graphic counters, to be an accurate measure of views to your page. A graphic counter is only incremented when the graphic is loaded; many people especially on slow connections do not use graphic browsers.

For Commercial Web customers only, we offer a free Web Statistics Reporting Service with which you can receive accurate hit counts plus much more useful information about traffic to your site.

Count23.cgi: version 2.3 of Muhammad A. Muquit's Counter/Clock
To use:

  • Select a name for your counter. To minimize name conflicts, please choose a name beginning with your login ID and ending with .dat. For example, if your login ID is foo, use foo.dat. If you want counters for more than one page, use names like foo-2.dat or foo-hotlinks.dat.
  • Unlike the old version of the counter, you do NOT need to create the data file with touch and chmod. It will be automatically created.
  • Place an anchor in your page like this:
    <img src="/cgi-bin/Count23.cgi?df=foo.dat">
    substituting your counter name for foo.dat.
  • If you are replacing on old counter: You may start the new counter at the value of your old counter like this:
    <img src="/cgi-bin/Count23.cgi?df=foo.dat&st=xxx">
    substituting the numeric value of the old counter for xxx.

This counter is highly customizable: several different digit styles are available, the colors may be modified, and it can even display the current date or time instead of a counter!

These are the digit strips for Count23.cgi we have installed on www.datasync.com. The string to the left of each image is the digit style to specify in your call to Count23.cgi.

dd=A
dd=B
dd=C
dd=D
dd=E

These strips to not contain comma or dash images so you can't use display=date or comma=b with these.

dd=katt009
dd=katt012
dd=katt031
dd=katt128
dd=katt165

Virtual domain customers: You may get an error from Count23 about not being authorized to use it. If this happens, use the following form to request access.

Login ID: 
Domain:   

The old version of the counter, Count.cgi, is still on the system for backward compatibility. We recommend you use Count23.cgi for new counters.

counter.pl: Matt Wright's Text Counter
This counter appears in your page as text instead of an inline image. It provides a more accurate count, since it is incremented every time your page is loaded instead of every time the image is loaded.

To use:

  • Since this an SSI (Server Side Include) application, the filename of any page using it must have an extension of .shtml instead of the usual .html or .htm. This means you will have to rename it on the server if you work in DOS or Windows 3.x. For your start page, use index.shtml or welcome.shtml.
  • The following HTML in your page will invoke the textcounter:
    <!--#exec cgi="/cgi-bin/counter.pl"-->
  • When loaded from the server, the above line will be replaced by something like this:
    123 hits since September 24, 1996
  • There is no way to specify an initial count or start date with this counter. If you really need the count and start date retrofitted, you'll have to bug the webmaster.

guestbook.pl: Matt Wright's Guestbook CGI, customized for site-wide use
To use:

  • Run /usr/local/lib/guestbook/install at the shell prompt.
    This will copy the necessary files into your public_html directory.
  • Edit the guestbook.html and addguest.html files to taste.
  • Place an anchor like this on your page:
    <a href="guestbook.html">

FormMail.pl: Matt Wright's FormMail CGI
This script allows you to create forms and have the submitted information sent to your mailbox. You should set the METHOD and ACTION attributes of your forms like this:

<FORM METHOD="POST" ACTION="http://www.datasync.com/cgi-bin/FormMail.pl">

Certain fields of your form will be interpreted by FormMail in generating the form's response and the mail message. The one required field, recipient, specifies the e-mail address to which the form's contents should be sent, which should of course be your e-mail address, like so:

<INPUT TYPE=hidden NAME="recipient" value="myname@datasync.com">

The other optional fields are documented in this piece of the FormMail README.

Virtual domain customers: You may get an error from FormMail about not being authorized to use it. If this happens, use the following form to request access.

Login ID: 
Domain:   

wwwboard.pl: Matt Wright's WWWBoard CGI, customized for site-wide use
To use:

  • Run /usr/local/lib/wwwboard/install at the shell prompt.
    You will need to enter the name of a subdirectory under your public_html into which your board's files will be placed, and a title for the board. The install program will create the subdirectory and set up the files for you.
  • The URL which you should use to link to your board will be given to you by the install program. Place an anchor referencing it in your home page or wherever.
  • Edit the wwwboard.html file to taste, if desired.
  • You may set up multiple boards by re-running the install program and specifying a different subdirectory and board title.

countdown.pl: Matt Wright's Countdown CGI
To use:

  • Simply add an anchor into your page referencing
    http://www.datasync.com/cgi-bin/countdown.pl?yyyy,mm,dd,hh,mm,ss
    substituting the year, month, day, hour, minute, and second you want to count down to for yyyy,mm,dd,hh,mm,ss.

links.pl: Matt Wright's Free For All Links CGI
To use:

  • Run /usr/local/lib/links/install at the shell prompt.
    This will copy the necessary files into your public_html directory.
  • Edit the links.html file to taste.
  • Place an anchor like this on your page:
    <a href="links.html">

randimage.pl: Matt Wright's Random Image Displayer
To use:

  • Create a file under your home directory called images.conf containing the URLs for the images you want to display, one per line.
  • Place an anchor like this on your page:
    <img src="/cgi-bin/randimage.pl/home/myname/images.conf">
    Substitute your login name for myname. The part after randimage.pl/ is the full path to your image list.
  • You may have more than one image list for different calls to randimage, but the filename must end in images.conf. For example otherimages.conf would work.

rand_link.pl: Matt Wright's Random Image Generator
To use:

  • Create a file under your home directory called links.conf containing the URLs for your random links, one per line.
  • Place an anchor like this on your page:
    <a href="/cgi-bin/rand_link.pl/home/myname/links.conf">
    Substitute your login name for myname. The part after rand_link.pl/ is the full path to your links list.
  • You may have more than one links list for different calls to rand_link, but the filename must end in links.conf. For example otherlinks.conf would work.

clickgo.pl: ClickGo Ver. 1.1.1 By Luke and Mark Pfeifer

So you like the easy click, pick, and go pull down menus on the Datasync Main page? You to can have it on your home page by following the instructions below. You will need to set the METHOD and ACTION attributes of your forms like this:

<form ACTION="http://www.datasync.com/cgi-bin/clickgo.pl" METHOD="GET">

You will then have to adjust your form with the OPTIONS to be place in the pulldown menu like this:

<SELECT NAME="goto">
<OPTION VALUE="Address 1">Name 1 in Menu</option>
<OPTION VALUE="Address 2">Name 2 in Menu</option>
<OPTION VALUE="Address 3">Name 3 in Menu</option>

The last thing you do is add the "GO" button using the SUBMIT tag like this:

<input type="SUBMIT" value="GO!"></form>

You can add as many OPTIONS to the page as you want. You can get more info on this script by going to the ClickGo Homepage.

Virtual domain customers: You may get an error from Click Go about not being authorized to use it. If this happens, use the following form to request access.

Login ID: 
Domain:   

Cgiparse: CERN utility for parsing QUERY_STRING keywords

Cgiutils: CERN utility for generating HTTP response headers

Htimage: CERN utility for handling image maps

  
Home
Services
Support
Account
Frontpage
Search
About

 
  Information
  Bulletin Board
  Unlimited Hours
 
  ADSL Connection
  ISDN Connection
  56K Connection
  V.90 Connection
 
  Analog Statistics
  Internet Installer
  Form Mail
  The Proxy Server
  E-mail Configuration
  News Readers
  F.A.Q. Section
  IRC Help
  Netscape Help
  Shell Tutorial
  Trumpet Winsock
 
  General Information
  Win NT 4.0 Dial-Up
  Win NT 3.51 Dial-Up
  Windows 95 Dial-Up
  Red-Hat Linux
 
  How-To Create
  CGI Programs
  Password Crypto
  Uploading
  Design Hints
  Page Resources
 
Back to Home...

 
 
  [ Home | Services | Support | Account | FrontPage | Search | About ]

For suggestions or comments regarding the Datasync Web Site send mail to the Webmaster
For information on prices or quotes send mail to the Sales Department

Copyright 1999-2003
Datasync, a division of I-55 Internet Services, Inc.
All Rights Reserved