Thread: [DFLW] DFLW Babstats
View Single Post
  #3  
Old 04-05-2017, 10:40 PM
Scott is offline Scott
Scott's Avatar
AKA. Panther

Join Date: Sep 2001
Location: Minneapolis, MN
Posts: 10,922

Quote:
Originally Posted by ÇÕLÐFÜSÎÓN View Post
maybe there is a newer/fixed version of babstats somewhere?

since HTTP_*_VARS were removed since php 5.4.0
http://php.net/manual/en/ini.core.ph...er-long-arrays
This is correct. Bab Stats is very old and making it compatible with newer versions of PHP takes a lot of work. Those php verbs haven't been used since like php 5.3. I do not know of another version of BAB stats that works with newer versions of PHP. My host tool does support almost all stats, but nothing for it like bab stats exists quite yet.

You could try replacing the contents of that getenv.php file with something like this:

Code:
	<?php

	if($_POST)   foreach($_POST   as $Key=>$Value) $$Key = $Value;
	if($_GET)    foreach($_GET    as $Key=>$Value) $$Key = $Value;
	if($_COOKIE) foreach($_COOKIE as $Key=>$Value) $$Key = $Value;
	if($_SERVER)   foreach($_SERVER   as $Key=>$Value) $$Key = $Value;
	if($_ENV) foreach($_ENV as $Key=>$Value) $$Key = $Value;

	?>
But I would recommend you isolate that babstats install so they can't get into anything else on your server.
__________________

04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq
Reply With Quote