Organisation profile: Department of Informatics, University of Lisbon
[ ID = 3024 ] | Department of Informatics, University of Lisbon |
Organisation name | Department of Informatics, University of Lisbon |
Short name or acronym | Department of Informatics, University of Lisbon |
Organisation type | Academic |
Activity type | |
Address | Campo Grande, Lisboa |
Postal Code | 1749-016 |
City | Lisbon |
Country | Portugal |
Phone | + +351-21-7500084 |
Fax | + +351-21-7500084 |
Email | ahb_(on)_di.fc.ul.pt |
Organisation URL | http://www.di.fc.ul.pt |
Logo | Description |
 |
|
Member of elsnet
| Contact |
Name | Prof. António Branco |
Function | Faculty member |
Department | Informatics |
Email | Antonio.Branco_(on)_di.fc.ul.pt |
Phone | + +351-21-7500606 |
Fax | + +351-21-7500084 |
Update this profile
|
Last update: 2002-04-18 11:35:17
#!/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"
|
|