1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
<?php /* $Id: sysinfo.php,v 1.1.1.1 2002/10/28 19:13:51 pbaecher Exp $ */ /* ThWboard - PHP/MySQL Bulletin Board System ============================================== (c) 2000, 2001 by Paul Baecher <paul@thewall.de> Felix Gonschorek <funner@thewall.de>
download the latest version: http://www.thwboard.de
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
==============================================
*/ include "common.inc.php";
tb_header();
print '<b>System Info</b><br><br>Please post this information when reporting bugs.';
$php_version = phpversion(); $r = query("SELECT VERSION() as version"); list( $mysql_version ) = mysql_fetch_row($r);
$a_info = array( 'PHP version' => phpversion(), 'MySQL version' => $mysql_version, 'Board version' => $config['version'], 'Magic quotes GPC' => get_magic_quotes_gpc() );
print '<pre>[code]'."\n"; while( list($k, $v) = each($a_info) ) { printf('%-20s [b]<b>%s</b>[/b]'."\n", $k, $v); } print '[/code]</pre>';
/*$a_dir = array('../', '../templates/default/', '../templates/mail/', './');
while( list(, $dir) = each($a_dir) ) { $dp = opendir($dir); $a_file[$dir] = array(); while( $file = readdir($dp) ) { if( !is_dir($dir.$file) && $file[0] != '.' ) { $a_file[$dir][] = $file; } } closedir($dp); sort($a_file[$dir]); }*/
tb_footer();
?>
|