|
|||||||||||||||||||||||||||||||||||||||||||||||
|
[ ID = 2973 ] | Habitek Ltd |
---|---|
Organisation name | Habitek Ltd |
Short name or acronym | Habitek Ltd |
Organisation type | Company |
Activity type | Speech technology |
Address | Unit 1 Cwm Road |
Postal Code | SA1 2AY |
City | Swansea |
Country | United Kingdom |
Phone | + 44 1792 455552 |
Fax | + 44 1792 534100 |
info_(on)_habitek.co.uk | |
Organisation URL | |
Logo | Description |
![]() |
UK / Ireland Distributor of HAL2000 Voice Home Control Software |
Contact | |
Name | Chris Reed |
Function | Director |
Department | |
info_(on)_habitek.co.uk | |
Phone | + 44 1792 455552 |
Fax | + 44 1792 534100 |
![]() |
Last update: 2002-04-15 13:23:53 #!/usr/bin/ksh # cntr.cgi -- # version 0 DOC=$DOCUMENT_ROOT$DOCUMENT_URI VSTART=28-08-2008 WRONGLOG=${DOCUMENT_ROOT}/cntr.txt echo Content-type:text/html echo case $DOC in *experts*) CDIR=${DOCUMENT_ROOT}/cntex ;; *orgs*) CDIR=${DOCUMENT_ROOT}/cntor ;; *) WRONG=yes ;; esac CFILE=${DOC##*/} case ${CFILE} in [0-9][0-9][0-9][0-9].html) WRONG=no ;; *) WRONG=yes ;; esac [ $WRONG = yes ] && { echo "$(date) $REMOTE_ADDR ${DOC}" >> $WRONGLOG exit } CCNT=${CDIR}/${CFILE%.html}.txt CLCK=${CDIR}/${CFILE%.html}.lck [ -s $CCNT ] && COUNT=$(head -1 $CCNT) COUNT=$(( ${COUNT:-0} + 1 )) [ -f $CLCK ] || { touch $CLCK echo $COUNT > $CCNT rm -f $CLCK } echo " Visits since $VSTART: $COUNT" |