PDA

View Full Version : Admin Control Panel Statistics


Radon3k
07-29-2004, 11:06 PM
In the Admin Control Panel you have the ability to display statistics such as PHP and MySQL information as well as other information. I'm to add some PHP and MySQL information onto a non-vBulletin page. How was this information retrieved and how would I go about adding it to a non-vBulletin page? Please note I'm not looking to use vBulletin's code (as in I'm not trying to display vBulletin related information on a non-vBulletin page, I want non-vBulletin information). I hope this makes sense. Thanks! :)

Radon3k
07-31-2004, 04:38 AM
Anybody?

Radon3k
08-01-2004, 12:54 AM
Anybody?
I still have not figured this out, help would be appreciated. Thanks. :)

Andreas
08-01-2004, 01:03 AM
Copy & Paste from my very own Version of vBStats for vB3 ;)

// Some Server info
$ar = split("[/ ]", getenv("SERVER_SOFTWARE"));
$apacheversion = $ar[1];
$phpversion = phpversion();
$mysqlversion = $DB_site->query_first("SELECT VERSION() as version");


What information do you want to display?

Radon3k
08-01-2004, 01:59 AM
Copy & Paste from my very own Version of vBStats for vB3 ;)

// Some Server info
$ar = split("[/ ]", getenv("SERVER_SOFTWARE"));
$apacheversion = $ar[1];
$phpversion = phpversion();
$mysqlversion = $DB_site->query_first("SELECT VERSION() as version");


What information do you want to display?
Thanks for that. :) I'm looking to display PHP Information (version, etc), MySQL information (version, disk space used, etc) as well as what platform the server is running, kernel, uptime, etc. I think you posted some of that. Is there a way to get all of the information that I'm looking for or will your above post take care of it?