elsnet |
Expert profile: Yungi Chu |
[ ID = 2502 ] | Yungi Chu |
---|---|
Name | Chu, Yungi |
Job Title | Systems Engineer |
Organisation | HeadsetPlus.com |
Address | 570 El Camino Real Ste#150-421 |
Postal Code | 94063 |
City | Redwood City |
Country | Canada |
Phone | +1 650-306-9768 |
Fax | +1 650-306-8922 |
Mobile | + |
yungi_(on)_headsetplus.com [@ replaced for spam protection] | |
Organisation URL | http://HeadsetPlus.com |
Personal URL | http://headsetplus.com/blog/ |
Membership | |
Languages | English |
Specialism | Audio Signal Processing
Background Noise Suppression Branding Phone Interactions Call Center Automation Call Center Telephone Switching Hearing Impairment Telecommunications Telephony |
Photograph | Description or CV |
![]() |
|
![]() |
Last update: 2015-01-21 06:33:18 #!/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" |