The files in this folder are required for online leagues. You can customize these files, but you should be very careful and you should know what you're doing ;)


If you're using PHP4 or older on your server, the scripts in this folder will not work because they require MySQLi. The MySQLi extension was introduced with PHP version 5.0.0.
In this case, replace the scripts index.php and unpackreports.php with the scripts from the sub folder /scripts_for_php4_and_older.


If you're using NGINX instead of the Apache web server, the .htaccess approach will not work. 
Chris from General Manager Games (gmgames.org) kindly provided the NGINX settings for us, which go to the nginx vhost conf file. 
Normally it's named <domain>.ssl.conf or without SSL is <domain>.conf from the nginx /conf.d folder, usually /usr/local/nginx/conf/conf.d/

# NGINX Config from Chris General Manager Games gmgames.org
# Whereas /UBA/reports is the directory reports location within public/public_html equiv
# This goes in location {  and must in before the } close

rewrite ^/UBA/reports/leagues/(.*)\.html$ /UBA/reports/index.php?type=b&name=$1 last;
rewrite ^/UBA/reports/box_scores/(.*)\.html$ /UBA/reports/index.php?type=e&name=$1 last;
rewrite ^/UBA/reports/coaches/(.*)\.html$ /UBA/reports/index.php?type=g&name=$1 last;
rewrite ^/UBA/reports/game_logs/(.*)\.html$ /UBA/reports/index.php?type=f&name=$1 last;
rewrite ^/UBA/reports/history/(.*)\.html$ /UBA/reports/index.php?type=h&name=$1 last;
rewrite ^/UBA/reports/players/(.*)\.html$ /UBA/reports/index.php?type=d&name=$1 last;
rewrite ^/UBA/reports/teams/(.*)\.html$ /UBA/reports/index.php?type=c&name=$1 last;
