Retest with "killer" params
Raw display of $_GET:
dest | => shakespearereadingsociety.co.uk | |
$_REQUEST ($_GET, $_POST and possibly $_COOKIE): array (
'dest' => 'shakespearereadingsociety.co.uk',
)
$_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/shakespearereadingsociety.co.uk/etc/php.ini',
'PP_CUSTOM_PHP_CGI_INDEX' => 'fastcgi',
'HTTP_CONNECTION' => 'close',
'SCRIPT_NAME' => '/test/showenv.php',
'REQUEST_URI' => '/test/showenv.php?dest=shakespearereadingsociety.co.uk',
'QUERY_STRING' => 'dest=shakespearereadingsociety.co.uk',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REMOTE_PORT' => '26331',
'SCRIPT_FILENAME' => '/var/www/vhosts/shakespearereadingsociety.co.uk/httpdocs/test/showenv.php',
'SERVER_ADMIN' => 'root@localhost',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/shakespearereadingsociety.co.uk/httpdocs',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'https',
'DOCUMENT_ROOT' => '/var/www/vhosts/shakespearereadingsociety.co.uk/httpdocs',
'REMOTE_ADDR' => '3.148.112.29',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '195.224.99.184',
'SERVER_NAME' => 'shakespearereadingsociety.co.uk',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'HTTP_HOST' => 'shakespearereadingsociety.co.uk',
'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' => 'shakespearereadingsociety.co.uk',
'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://shakespearereadingsociety.co.uk/test/showenv.php',
'SCRIPT_URL' => '/test/showenv.php',
'UNIQUE_ID' => 'Z2bQIifsSP6njrxwWdV3ZgAAAAE',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/test/showenv.php',
'REQUEST_TIME_FLOAT' => 1734791202.5395,
'REQUEST_TIME' => 1734791202,
'SCRIPT_DIR' => 'https://shakespearereadingsociety.co.uk/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/shakespearereadingsociety.co.uk/httpdocs/test'
$_SESSION: NULL
$_ENV: array (
)
$_FILES: array (
)
$argc:
$argv:NULL
apache_request_headers(): array (
'Connection' => 'close',
'Host' => 'shakespearereadingsociety.co.uk',
'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] => 42
[minutes] => 26
[hours] => 14
[mday] => 21
[wday] => 6
[mon] => 12
[year] => 2024
[yday] => 355
[weekday] => Saturday
[month] => December
[0] => 1734791202
)
http_response_code(): 200
pathinfo(__FILE__): array (
'dirname' => '/var/www/vhosts/shakespearereadingsociety.co.uk/httpdocs/test',
'basename' => 'shownvi.php',
'extension' => 'php',
'filename' => 'shownvi',
)
posix_getpwuid(): for /var/www/vhosts/shakespearereadingsociety.co.uk/httpdocs/test/shownvi.phparray (
'name' => 'shakespe',
'passwd' => 'x',
'uid' => 10917,
'gid' => 1003,
'gecos' => '',
'dir' => '/var/www/vhosts/shakespearereadingsociety.co.uk',
'shell' => '/bin/false',
)
stat(__FILE__):array (
0 => 2050,
1 => 3177740342,
2 => 33188,
3 => 1,
4 => 10917,
5 => 1003,
6 => 0,
7 => 9074,
8 => 1734786196,
9 => 1692615546,
10 => 1692615910,
11 => 4096,
12 => 24,
'dev' => 2050,
'ino' => 3177740342,
'mode' => 33188,
'nlink' => 1,
'uid' => 10917,
'gid' => 1003,
'rdev' => 0,
'size' => 9074,
'atime' => 1734786196,
'mtime' => 1692615546,
'ctime' => 1692615910,
'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/shakespearereadingsociety.co.uk/etc/php.ini does not exist
phpversion(): 5.4.16
This box is specified as 50 em wide
$_REQUEST[em2px]=16. So this box is specified as 50*16=800 pixels wide
2020 Dec 10 22:17:29 - /var/www/vhosts/shakespearereadingsociety.co.uk/httpdocs/test/showenv.php = $_SERVER['SCRIPT_FILENAME']
2023 Aug 21 10:59:06 - /var/www/vhosts/shakespearereadingsociety.co.uk/httpdocs/test/shownvi.php = __FILE__