VTracker is a visitor tracker that makes it easy for you. It uses PHP with MySQLi.