<td width="15%" >PHP-version: <font size=2 color=#29a329><?php 
echo phpversion();
?>
</font></td>
<td width="15%" >Oracle: <?php 
echo oracle();
?>
</td>
<td width="25%" >Safe_mode: <?php 
echo safe_mode();
?>
</td>
</tr>
<tr>
<td width="35%" >Server: <font size=2 color=#ff4500><b><?php 
echo getserver();
?>
</b></font></td>
<td width="15%" >MySQL: <?php 
echo testmysql();
?>
</td>
<td width="15%" >cURL: <?php 
echo testcurl();
?>
</td>
<td width="25%" >Total space: <?php 
echo view_size(disk_total_space(getcwd()));
?>
</td>
</tr>
Esempio n. 2
0
<?php

include "config.php";
include "lib/functions.php";
require_once 'lib/steam-condenser/lib/steam-condenser.php';
error_reporting(E_ALL);
//} no error will slip past unnoticed
ini_set("display_errors", 1);
mysql_connect($host, $user, $pass) or die(mysql_error());
mysql_select_db($table) or die(mysql_error());
if (!isset($_GET['serverid'])) {
    die("Server not set.");
}
if (isset($_GET['command'])) {
    $settings = getsettings();
    $servercfg = getserver($_GET['serverid']);
    $servercfg = $servercfg['0'];
    $serverIP = $servercfg['ip'];
    $server = new SourceServer($serverIP, $servercfg['port']);
    try {
        $server->rconAuth($servercfg['rconpass']);
    } catch (Exception $e) {
        $output = "> Unable to connect to Server";
    }
    if (empty($output)) {
        try {
            $output = $server->rconExec($_GET['command']);
        } catch (Exception $e) {
            $output = "> Server not Responding";
        }
    }
Esempio n. 3
0
   850 S. Greenville, Suite 102
   Richardson,  TX  75081
   http://www.fni.com/
   mbrennen@fni.com
   voice: 972.669.0041
   fax:   972.669.8972
Don't use auth cookies for download; they goof things up.
*/
// flags.php and functions.php must be included before this
// ========== start of variable loading ==========
// load passed variables and cookie variables
// int or double cast the numbers, no exceptions
// addslashes() for non-numbers, no exceptions
// only exception: custid cookie is mime encoded, don't escape
$PHP_AUTH_USER = getserver('PHP_AUTH_USER');
$PHP_AUTH_PW = getserver('PHP_AUTH_PW');
// $pwzone = (int)getparam('pwzone');
// ==========  end of variable loading  ==========
if (!isset($PHP_AUTH_USER)) {
    header("WWW-authenticate: basic realm=\" {$esdid}\"");
    header('HTTP/1.0 401 Unauthorized');
    echo 'You must be a registered user to enter this area\\n';
    exit;
}
if (isset($PHP_AUTH_USER)) {
    $pwuid = $PHP_AUTH_USER;
    $pwpw = $PHP_AUTH_PW;
}
$fcpw = new FC_SQL();
$fcpw->query("select * from pw " . "where pwuid='{$pwuid}' and pwpw='{$pwpw}' and pwactive=1");
if (!$fcpw->next_record()) {
Esempio n. 4
0
 $output = '';
 $list = explode(',', $_GET['servers']);
 $servers = array();
 for ($i = 0; $i < count($list); $i++) {
     if (is_numeric($list[$i])) {
         array_push($servers, $list[$i]);
     } else {
         $typeServers = mysql_query("SELECT `serverid` FROM `servers` WHERE `type` = '" . $list[$i] . "' AND multic = 'yes'");
         while ($server = mysql_fetch_array($typeServers)) {
             array_push($servers, $server['serverid']);
         }
     }
 }
 for ($i = 0; $i < count($servers); $i++) {
     $settings = getsettings();
     $servercfg = getserver($servers[$i]);
     $servercfg = $servercfg['0'];
     $serverIP = $servercfg['ip'];
     $server = new SourceServer($serverIP, $servercfg['port']);
     $output .= "\n>> " . $servercfg['servername'] . "\n";
     try {
         $server->rconAuth($servercfg['rconpass']);
     } catch (Exception $e) {
         $output .= "> Unable to connect to Server";
     }
     try {
         $output .= $server->rconExec($_GET['command']);
     } catch (Exception $e) {
         $output .= "> Server not Responding";
     }
     $output .= "\n";
Esempio n. 5
0
   fax:   972.669.8972

This is the final stop to process an order.  All the info
is checked, and if it is okay we require() the given order
processing script from 'vendonline' or 'vendofline' from
the vendor table to process the data.
*/
require_once '../bit_setup_inc.php';
require './functions.php';
// ========== start of variable loading ==========
// load passed variables and cookie variables
// int or double cast the numbers, no exceptions
// custid cookie is mime encoded, don't escape
$CookieCustid = getcookie("Cookie{$instid}Custid");
$CookieCart = getcookie("Cookie{$instid}Cart");
$remote_addr = getserver('REMOTE_ADDR');
$cartid = getparam('cartid');
$zid = (int) getparam('zid');
$lid = (int) getparam('lid');
$aid = (int) getparam('aid');
$referer = getparam('referer');
$billing_email = getparam('billing_email');
$billing_first = getparam('billing_first');
$billing_mi = getparam('billing_mi');
$billing_last = getparam('billing_last');
$billing_address1 = getparam('billing_address1');
$billing_address2 = getparam('billing_address2');
$billing_city = getparam('billing_city');
$billing_state = getparam('billing_state');
$billing_zip = getparam('billing_zip');
$billing_zip4 = getparam('billing_zip4');