|
|
|
include ("includes/menu.inc"); ?>
|
|
:: Some of the Hosted Sites ::
- www.phemail.org - Free ISP-suite for *NIX.
- www.userlocal.com - Info about Slackware Linux.
- www.darkpact.org - Gamers Clan.
- ada.netbsd-fr.org - Ada's Personal Site.
- jk.yazzy.org - Jochem's Personal Site.
- rg.yazzy.org - Robert's Personal Site.
- gerardo.yazzy.org - Gerardo's Personal Site.
- yazzy.yazzy.org - YazzY's Personal Site.
- keskoy.userlocal.com - Keskoy's fantastic homepage :)
- www.bsdsecurity.net - Sid's site.
- zh.yazzy.org - Zhware's web corner.
- thul.yazzy.org - Thul's stuff about windows managers.
- irazor.yazzy.org - Ingve loves his tiny cars.
- freebsd.ezunix.org - Local FreeBSD.org mirror.
- mundy.yazzy.org - Repository of Mundy.
- masta.yazzy.org - masta's scripting corner.
- anita.elskov.com - Anita's albums.
- lise.elskov.com - Lise's albums.
- images.yazzy.org - Misc. wallpapers.
- www.smnolde.com - Scott's Personal Site.
- www.palovick.com - Keskoy's Flash-related Site.
- www.wifibsd.org - Tiny version of NetBSD aimed for wireless routers.
- Additionally a few other sites use YazzY.org for hosting and relaying of their emails and as their secondary DNS servers.
require_once("includes/sql.php");
$connection = mysql_connect($db_host, $db_user, $db_pass);
if(! $connection )
die("Could not connect to MySQL");
mysql_select_db($db_name)
or die ("could not open $db_name: ".mysql_error() );
$query = "SELECT count(*) FROM vhosts WHERE active='1'";
$result = mysql_query($query, $connection) or die("Error in SQL query");
echo "Total amount of hosted domains (web & email): ";
echo mysql_result($result, 0);
echo "";
//echo " Total amount of hosted web sites: ";
//$site = exec('ls /serv/web |wc -l');
//print $site + 7;
//echo "";
$connection = mysql_connect($dbhost, $dbuser, $dbpass);
if(! $connection )
die("Could not connect to MySQL");
mysql_select_db($dbdatabase)
or die ("could not open $dbdatabase: ".mysql_error() );
$query = "SELECT count(*) FROM domains ORDER BY id";
$result = mysql_query($query, $connection) or die("Error in query");
echo "Total amount of hosted domains on the Master DNS server: ";
echo mysql_result($result, 0);
echo "";
mysql_close($connection);
?>
|
|
|
|
|
|
include ("includes/menu-right.inc");
?>
|