|
|||||||||||||||||||||||||||||||||||||||||||||||
|
[ ID = 1478 ] | Norwegian Post And Telecommunications Authority |
---|---|
Organisation name | Norwegian Post And Telecommunications Authority |
Short name or acronym | Norwegian Post And Telecommunications Authority |
Organisation type | Association |
Activity type | Call centers |
Address | Revierstredet 2 |
Postal Code | N-0104 |
City | Oslo |
Country | Norway |
Phone | + +47 22 82 46 00 |
Fax | + +47 22 82 46 40 |
firmapost_(on)_npt.no | |
Organisation URL | http://www.npt.no |
Logo | Description |
![]() |
The Norwegian Post and Telecommunications Authority (PT) is a public agency having as its principal responsibility to regulate and monitor the Norwegian post and telecommunications sector. |
Contact | |
Name | |
Function | |
Department | |
Phone | + |
Fax | + |
![]() |
Last update: 2002-04-10 12:32:58 #!/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" |