[ ID = 1332 ] | Advantage Interactive Corporation |
Organisation name | Advantage Interactive Corporation |
Short name or acronym | Advantage Interactive Corporation |
Organisation type | Company |
Activity type | Call centers |
Address | 140 Vespra Street, Suite 201 |
Postal Code | L4N 2G9 |
City | Barrie, ON |
Country | Canada |
Phone | + +1 705 735 9779 |
Fax | + +1 705 735 9780 |
Email | solutions_(on)_advantageinteractive.com |
Organisation URL | http://www.advantageinteractive.com |
Logo | Description |
|
|
| Contact |
Name | Mr. David Amstrong |
Function | |
Department | |
Email | damstrong_(on)_advantageinteractive.com |
Phone | + |
Fax | + |
Update this profile
|
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"
|