SILENT KILLERPanel

Current Path: > home > transcarter > public_html > wp-content > plugins > query-monitor > output


Operation   : Linux host59.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Software     : Apache
Server IP    : 198.54.126.42 | Your IP: 216.73.216.135
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/transcarter/public_html/wp-content/plugins/query-monitor/output

NameTypeSizeLast ModifiedActions
headers Directory - -
html Directory - -
raw Directory - -
Headers.php File 732 bytes July 17 2025 21:05:45.
Html.php File 18207 bytes July 17 2025 21:05:45.
Raw.php File 179 bytes July 17 2025 21:05:45.

Reading File: /home/transcarter/public_html/wp-content/plugins/query-monitor/output/Headers.php

<?php declare(strict_types = 1);
/**
 * Abstract output class for HTTP headers.
 *
 * @package query-monitor
 */

abstract class QM_Output_Headers extends QM_Output {

	/**
	 * @return void
	 */
	public function output() {

		$id = $this->collector->id;

		foreach ( $this->get_output() as $key => $value ) {
			if ( ! is_scalar( $value ) ) {
				$value = json_encode( $value );
			}

			# Remove illegal characters (Header value may not contain NUL bytes)
			if ( is_string( $value ) ) {
				$value = str_replace( chr( 0 ), '', $value );
			}

			# Remove illegal characters (Header name may not contain underscores)
			$key = str_replace( '_', '-', $key );

			header( sprintf( 'X-QM-%s-%s: %s', $id, $key, $value ) );
		}

	}

}

SILENT KILLER Tool