HAL-PC
Top navigation
  About HALNet | Join HALNet | User Support | Web Based E-Mail | Staff | User Home Pages
 
 
HAL-PC Headquarters BuildingHit Counters

You can start a hit counter on your HALNet home page via ftp with a graphical client or by the Windows 95 command line client.

Graphical FTP Clients

  1. Open your ftp client and set ‘host name’ to ‘hal-pc.org’, and the userid and password to your own.

  2. Try right clicking on the client window to see if you can activate a pop-up window with 'FTP Commands' or 'SITE' as one of the options. If this does not work, check the documentation for your particular client to see how to activate the 'SITE' command. If 'SITE is an option, select it. If 'FTP Commands' is an option, select it and see if you can then select 'SITE' from the options.

  3. The 'SITE' command should provide a dialog box in which you can type the following:
    start.hit.counter

  4. Close your ftp client and go to Step 2

Via Windows 95

If you are using WIN95, you can use the built-in text based ftp client.

WHEREVER 'UID' APPEARS, SUBSTITUTE YOUR HALNet USERID

  1. From the 'START' menu, select 'RUN' and type in
    COMMAND.COM
  2. From the C:\WINDOWS\DESKTOP prompt, type in the following commands (wait after each [enter] for the command to process and the _ cursor to appear):
    echo 0>UID.dat [enter]

    debug UID.dat [enter]

    r cx [enter]

    0001 [enter]

    w [enter]

    q [enter]

    You should now be back to the C:\WINDOWS\DESKTOP prompt

  3. Type in:
    ftp hal-pc.org

  4. At the first prompt, type in your HALNet userid. At the password prompt, type in your HALNet password. You will then be logged in and see the following prompt:
    ftp>"

  5. Type in the following commands:
    cd /usr/local/etc/httpd/conf/counter [enter] - wait for ftp> prompt

    bin [enter] - wait for ftp> prompt

    put UID.dat [enter] - wait for ftp> prompt

    quote site chmod 666 UID.dat [enter] - wait for ftp> prompt

    quit [enter]

  6. You should now be back to the C:\WINDOWS\DESKTOP prompt. Type in:
    del UID.dat

  7. To log off, type in:
    exit
  8. Proceed to Step 2

Step 2 - Placing a counter into a web page

Insert the following html tag into the code for your home page:

<img src="http://www.hal-pc.org/cgi-bin/Count.cgi?df=userid.dat">

NOTE: replace 'userid' in the HTML code with YOUR HALNet USERID

User Suppport Page
HAL-PC Home Page About HAL-PC About HALNet HAL-PC Member Services Other great stuff!