|
|||||||||||||||||||||||||||||||||||||||||
|
[ ID = 0054 ] | Mr. Varol Akman |
---|---|
Name | Akman, Mr. Varol |
Job Title | Professor |
Organisation | Bilkent University |
Address | Computer Engineering Dept., Bilkent University |
Postal Code | 06533 |
City | Ankara |
Country | Turkey |
Phone | + 90 312 2901537 |
Fax | + 90 312 2664047 |
Mobile | + |
akman_(on)_cs.bilkent.edu.tr [@ replaced for spam protection] | |
Organisation URL | |
Personal URL | http://www.cs.bilkent.edu.tr/~akman/ |
Membership | |
Languages | English |
Specialism |
Social Aspects of the Internet Logic Philosophy Pragmatics Semantics |
Photograph | Description or CV |
![]() |
|
![]() |
Last update: 2008-08-27 15:10:52 #!/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" |