home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / livecnt.zip / livecnt.doc next >
Text File  |  1997-04-11  |  2KB  |  54 lines

  1. How to use Java LiveCounter in OS2 WARP
  2. =======================================
  3.  
  4. * Tested with IBM-ICS 4.1.1 only, but It may work with any WWW server
  5.  
  6. * Tested with wwwcount 2.2 only
  7.  
  8. * Tested with 0.95i version of JavaCounter if you have newer version change
  9.   this number in rexx script
  10.   
  11. Install
  12. =======
  13.  
  14. * Install and setup any httpd which works with rexx cgi scripts
  15.  
  16. * Download (and install) classic counter wwwcnt23.zip from
  17.     
  18.    Hobbes:/pub/os2/apps/internet/www/util:
  19.  
  20. * Download Java Live Counter from
  21.      
  22.    http://www.chamisplace.com/prog/lc/
  23.  
  24. * copy REXX script to directory for CGI scripts
  25.  
  26. * edit rexx script and change path to your .dat file from www counter
  27.  
  28. * setup your WWW page with classic and Java Counters. Here is part of my page.
  29.  
  30. <BR>
  31. Welcome
  32.    <applet codebase="http://www.op56.vzp.cz:8080/" 
  33.    code="LiveCounter.class" width=90 height=20>
  34.    <param name="urlimage" 
  35.    value="http://www.op56.vzp.cz:8080/lcdgts_a.gif" >
  36.    <param name="urlscript1" 
  37.    value="http://www.op56.vzp.cz:8080/usr-cgi/livecnt1.cmd">
  38.    <param name="urlscript2" 
  39.    value="http://www.op56.vzp.cz:8080/usr-cgi/livecnt1.cmd">
  40.    <!-- following code will display a CGI counter --------------->
  41.    <!-- when viewed using a browser that does not support Java -->
  42.    <img src="/cgi-bin/counter?df=count2.dat&beep=1" alt="****">
  43.    </applet> 
  44. Visitor!
  45.  
  46.  
  47. Known bugs/limitation
  48.  
  49. * On server with high load, some calls to script may fail, becouse there are
  50.   another copy of script running, which have locked dat file. If this is your
  51.   problem email me and I will try to fix it.
  52.   
  53. ==================
  54. Radim Kolar (hsn@cybermail.net)