https://php-include.com/php-and-mobile-app-real-time-analytics/