elsnet |
Expert profile: William Gray |
| [ ID = 1029 ] | William Gray |
|---|---|
| Name | Gray, William |
| Job Title | MD |
| Organisation | Macfarlane Telesystems Ltd |
| Address | 22-26 ALbert Embankment |
| Postal Code | SE1 7TJ |
| City | London |
| Country | United Kingdom |
| Phone | + +44 (0) 20 7314 1314 |
| Fax | + +44 (0) 20 7314 1315 |
| Mobile | + |
| wgray_(on)_macfar.co.uk [@ replaced for spam protection] | |
| Organisation URL | |
| Personal URL | |
| Membership | |
| Languages | English |
| Specialism | Speechtechnology:
System Integration |
| Photograph | Description or CV |
![]() |
|
|
|
Last update: 2002-04-05 12:00:00 #!/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" |