⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.19
Server IP:
41.128.143.86
Server:
Linux host.raqmix.cloud 6.8.0-1025-azure #30~22.04.1-Ubuntu SMP Wed Mar 12 15:28:20 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.3.23
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
local
/
psa
/
admin
/
htdocs
/
spaw
/
class
/
View File Name :
output.class.php
* @copyright UAB Solmetra */ /** * Controls output of shared code to the client, prevents duplicates, etc. * @package spaw2 * @subpackage Output */ class SpawOutput { /** * Workaround for "static" class variable under php4 * @access private */ private static function &buf() { static $buf; return $buf; } /** * Adds code to output buffer * @param string $name name of the code block * @param string $code code for output * @static */ public static function add($name, $code) { $buf = &SpawOutput::buf(); $buf[$name] = $code; } /** * Returns content of the output * @returns string * @static */ public static function get() { $buf = &SpawOutput::buf(); $str_buf = ''; foreach($buf as $code) { $str_buf .= $code . "\r\n"; } return $str_buf; } /** * Outputs content of the buffer * @static */ public static function show() { echo SpawOutput::get(); } } ?>