<?php
        # The next two lines are absolutely necessary for
        # UniCount to work in a PHP document.
        # Do NOT edit them.
        $doc_uri = getenv("SCRIPT_NAME");

        putenv("DOCUMENT_URI=$doc_uri");
        # The next six lines set ENV variables
        # for logging purposes. I would suggest
        # you not edit these lines.
        $remote_addr = getenv("REMOTE_ADDR");
        putenv("REMOTE_ADDR=$remote_addr");
        $remote_port = getenv("REMOTE_PORT");
        putenv("REMOTE_PORT=$remote_port");
        $user_agent  = getenv("HTTP_USER_AGENT");
        putenv("HTTP_USER_AGENT=$user_agent");

        # This is the only line you should edit.
        # Simply change the path to the path you have set
        # in conf.h
        echo `/var/www/cgi-bin/unicount.cgi`;
?>
