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',
'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' => '55742',
'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' => '44.220.251.236',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '195.224.99.184',
'SERVER_NAME' => 'shakespearereadingsociety.co.uk',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'HTTP_CONNECTION' => 'close',
'HTTP_HOST' => 'shakespearereadingsociety.co.uk',
'HTTP_ACCEPT_ENCODING' => 'br,gzip',
'HTTP_IF_MODIFIED_SINCE' => 'Sat, 15 Jun 2024 11:27:15 GMT',
'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
'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' => 'ZwtTtBgXDqe55TdC4046RgAAAAc',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/test/showenv.php',
'REQUEST_TIME_FLOAT' => 1728795573.0853,
'REQUEST_TIME' => 1728795573,
'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' => 'br,gzip',
'If-Modified-Since' => 'Sat, 15 Jun 2024 11:27:15 GMT',
'Accept-Language' => 'en-US,en;q=0.5',
'Accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'User-Agent' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
)
getdate(): Array
(
[seconds] => 33
[minutes] => 59
[hours] => 4
[mday] => 13
[wday] => 0
[mon] => 10
[year] => 2024
[yday] => 286
[weekday] => Sunday
[month] => October
[0] => 1728795573
)
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 => 1728795573,
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' => 1728795573,
'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__