simple javascript and php script to track active and unique users