2016-10-11 13:45:21 +00:00
|
|
|
<?php
|
2016-10-22 15:38:21 +00:00
|
|
|
$CONNECT = TRUE;
|
2016-10-11 13:45:21 +00:00
|
|
|
require '../config.php';
|
|
|
|
|
|
|
|
if (isset($_GET['size'])) {
|
|
|
|
echo getDBSize($_GET['size']);
|
|
|
|
} elseif (isset($_GET['table'])) {
|
|
|
|
echo getTableCount($_GET['table']);
|
|
|
|
} else {
|
|
|
|
echo '0';
|
|
|
|
}
|