Retest with "killer" params
Raw display of $_GET:
$_REQUEST ($_GET, $_POST and possibly $_COOKIE): array (
'dest' => 'mikrocosm.com',
)
$_GET: array (
'dest' => 'new value of $_GET["dest"]',
'newval' => 'added within a function',
)
$_GET has been changed but the same field in $_REQUEST is unchanged.
$_POST: array (
)
$_COOKIE: array (
)
$_SERVER: array (
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin',
'PP_CUSTOM_PHP_INI' => '/var/www/vhosts/system/mikrocosm.com/etc/php.ini',
'PP_CUSTOM_PHP_CGI_INDEX' => 'plesk-php56-fastcgi',
'HTTP_CONNECTION' => 'close',
'SCRIPT_NAME' => '/test/showenv.php',
'REQUEST_URI' => '/test/showenv.php?dest=mikrocosm.com',
'QUERY_STRING' => 'dest=mikrocosm.com',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REMOTE_PORT' => '47214',
'SCRIPT_FILENAME' => '/var/www/vhosts/rhaworth.net/mikrocosm/test/showenv.php',
'SERVER_ADMIN' => 'root@localhost',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/rhaworth.net/mikrocosm',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/var/www/vhosts/rhaworth.net/mikrocosm',
'REMOTE_ADDR' => '18.188.46.89',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '195.224.99.182',
'SERVER_NAME' => 'mikrocosm.com',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'HTTP_HOST' => 'mikrocosm.com',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'SSL_TLS_SNI' => 'mikrocosm.com',
'HTTPS' => 'on',
'PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0',
'PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0',
'PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins',
'SCRIPT_URI' => 'https://mikrocosm.com/test/showenv.php',
'SCRIPT_URL' => '/test/showenv.php',
'UNIQUE_ID' => 'Ztz2EUNbAflSTlli1ulGlQAAAA0',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/test/showenv.php',
'REQUEST_TIME_FLOAT' => 1725756945.2063251,
'REQUEST_TIME' => 1725756945,
'SCRIPT_DIR' => 'https://mikrocosm.com/test/',
'HTTP_WINVER' => false,
)
SCRIPT_DIR and HTTP_WINVER are non-standard and have been added by photinc.php
getcwd(): matches $_SERVER['SCRIPT_FILENAME']'/var/www/vhosts/rhaworth.net/mikrocosm/test'
$_SESSION: NULL
$_ENV: array (
)
$_FILES: array (
)
$argc:
$argv:NULL
apache_request_headers(): array (
'Connection' => 'close',
'Host' => 'mikrocosm.com',
'Accept-Encoding' => 'gzip, br, zstd, deflate',
'User-Agent' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'Accept' => '*/*',
)
getdate(): Array
(
[seconds] => 45
[minutes] => 55
[hours] => 1
[mday] => 8
[wday] => 0
[mon] => 9
[year] => 2024
[yday] => 251
[weekday] => Sunday
[month] => September
[0] => 1725756945
)
http_response_code(): 200
pathinfo(__FILE__): array (
'dirname' => '/var/www/vhosts/rhaworth.net/httpdocs/test',
'basename' => 'shownvi.php',
'extension' => 'php',
'filename' => 'shownvi',
)
posix_getpwuid(): for /var/www/vhosts/rhaworth.net/httpdocs/test/shownvi.phparray (
'name' => 'admin145042',
'passwd' => 'x',
'uid' => 10062,
'gid' => 1003,
'gecos' => '',
'dir' => '/var/www/vhosts/rhaworth.net',
'shell' => '/bin/false',
)
stat(__FILE__):array (
0 => 2050,
1 => 3236646781,
2 => 33188,
3 => 1,
4 => 10062,
5 => 1003,
6 => 0,
7 => 9074,
8 => 1725756945,
9 => 1692615546,
10 => 1692615558,
11 => 4096,
12 => 24,
'dev' => 2050,
'ino' => 3236646781,
'mode' => 33188,
'nlink' => 1,
'uid' => 10062,
'gid' => 1003,
'rdev' => 0,
'size' => 9074,
'atime' => 1725756945,
'mtime' => 1692615546,
'ctime' => 1692615558,
'blksize' => 4096,
'blocks' => 24,
)
Window data:
get_headers(): add gh=1 to command line to use get_headers() or gh=2 to use http_get(). Warning may be very slow!
php.ini: /var/www/vhosts/system/mikrocosm.com/etc/php.ini does not exist
phpversion(): 5.6.40
This box is specified as 50 em wide
$_REQUEST[em2px]=16. So this box is specified as 50*16=800 pixels wide
2020 May 09 13:54:48 - /var/www/vhosts/rhaworth.net/mikrocosm/test/showenv.php = $_SERVER['SCRIPT_FILENAME']
2023 Aug 21 11:59:06 - /var/www/vhosts/rhaworth.net/httpdocs/test/shownvi.php = __FILE__