HEX
Server: Apache
System: Linux server2.voipitup.com.au 4.18.0-553.104.1.lve.el8.x86_64 #1 SMP Tue Feb 10 20:07:30 UTC 2026 x86_64
User: posscale (1027)
PHP: 8.2.29
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/posscale/subdomains/ecc/jason/includes/php/debug.php
<?
	function print_array($arr, $depth=0, $i=0)
	{
		?>
			<div style="font-family:'Courier New'; font-size:12px;" align="left">
			 	<?
				  foreach ($arr as $key => $data)
				  {
				  	echo str_repeat("&nbsp;&nbsp;",$depth);
				    if (is_array($data))
				    {
				      // If dealing with another array, recurse and process
			
				      if(is_numeric($key))
				      { 
				      	echo "[<font color='#FF0000'>".$key."</font>]"; 
				      }
				      else 
				      {
				      	echo "[<font color='#006600'>'".$key."'</font>]"; 
				      }
							$depth++;
				      print_array($data, $depth, $i++);
				      $depth--;
				    }
				    else
				    {
				      // Make sure to clean up any HTML for display
				      $cleandata = htmlentities($data);
				      
				      if(is_numeric($key))
				      { 
				      	echo "[<font color='#FF0000'>".$key."</font>]"; 
				      }
				      else 
				      {
				      	echo "[<font color='#006600'>'".$key."'</font>]"; 
				      }
				      
				      if(is_numeric($cleandata))
				      { 	      
					      echo "<font color='#FF00FF'><b>=</b></font><font color='#FF0000'><b>".$cleandata."</b></font><br>";
				      } 	 
				      else 
				      {     
					      echo "<font color='#FF00FF'><b>=</b></font><font color='#006600'><b>'".$cleandata."</b>'</font><br>";
				      }
				    }
				  }
				?>
			</div>
		<?
	}	
?>