HEX
Server: Apache
System: Linux dev.epsylon.net 3.10.0-1160.144.1.el7.tuxcare.els2.x86_64 #1 SMP Sun Feb 15 11:22:42 UTC 2026 x86_64
User: nexper (1054)
PHP: 8.2.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/nexper/www/67.225.167.226/public_html/crm/XTemplate/debug.php
<?php

function dump_vars() {
	global $_POST, $_GET;
	echo "<br><h2>POST_VARS:</h2><br>\n";
	while (list($var, $value) = each($_POST)) {
		echo "<b>$var</b> = [$value]<br>\n";
	}
	echo "<br><h2>GET_VARS:</h2><br>\n";
		while (list($var, $value) = each($_GET)) {
			echo "<b>$var</b> = [$value]<br>\n";
	}
	echo "<br><br>";
}

function dump_array(&$mit,$indent="") {
	while (list($key, $value) = each($mit)) {
		if (gettype($value)=="array") {
				echo "<br>".$indent."<font face='verdana,helvetica' size=1><b>[$key]</b> =";
				echo " ARRAY<br>\n".$indent."&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[</font><br>\n";
        dump_array($value,$indent."&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
				echo $indent."&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]<br>\n";
			} else {
			echo $indent."<font face='verdana,helvetica' size=1><b>[$key]</b> =";
			echo " [".htmlspecialchars($value)."]</font><br>\n";
		}		 
	}
}

function timer($stime,$etime)
{
	$stime=split(" ",$stime);
	$etime=split(" ",$etime);
	return $etime[0]+$etime[1]-$stime[0]-$stime[1];
}

function debuglog($mit)
{
 global $release;
 if ($release=="dev")
 	error_log(date("[G:i:s] ").$mit,3,"/tmp/php3-ibusz.log");
}

?>