Skip to content

Instantly share code, notes, and snippets.

View AXYZE9's full-sized avatar

Piotr Plenzler AXYZE9

  • Artastia
  • Poland
View GitHub Profile
@AXYZE9
AXYZE9 / p.php
Created October 5, 2024 20:15
PHP Script that displays details of host system
<?php
/* ----------------This probe is based on the YaHei.net probe------------------- */
error_reporting(0); //Suppress all error messages
ini_set('display_errors','Off');
@header("content-Type: text/html; charset=utf-8"); //Language coercion
ob_start();
date_default_timezone_set(' Europe/Warsaw');//Time zone setting
$title = 'PHP Probe';
$version = "v0.4.7"; //version
define('HTTP_HOST', preg_replace('~^www\.~i', '', $_SERVER['HTTP_HOST']));