grashoper has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.
  • Comment on How do I log access to a resource on a website via script

Replies are listed 'Best First'.
Re: How do I log access to a resource on a website via script
by marto (Cardinal) on Apr 14, 2009 at 18:49 UTC

    Wouldn't you be better simply using something like awstats?

    Martin

Re: How do I log access to a resource on a website via script
by ikegami (Patriarch) on Apr 14, 2009 at 18:44 UTC

    [ -- for posting in the wrong section, for posting a question which shows a marked lack of effort, and for posting a question that doesn't seem to have anything to do with Perl. You know better. ]

    Simple. When you grant the user access to the resource, log it.

    Depending on your definition of resource, the web server already does this for you.

    Care to be more specific?