Tracking webstatistics using php

is it possible to write a simple script that tracks the traffic of specific html pages.

right now the client has an all html site. But he wants to know which pages are being accessed. Can this be done in php or javascript?