From 4ea7d714056f63486a4c3a7d0953e513e898b4ba Mon Sep 17 00:00:00 2001 From: Andrey Zelenkov Date: Mon, 8 Jul 2019 19:23:33 +0300 Subject: Tests: added PATH_INFO variable test. --- test/php/variables/index.php | 1 + 1 file changed, 1 insertion(+) (limited to 'test/php/variables/index.php') diff --git a/test/php/variables/index.php b/test/php/variables/index.php index 8f2e3bfc..279efc79 100644 --- a/test/php/variables/index.php +++ b/test/php/variables/index.php @@ -4,6 +4,7 @@ $body = file_get_contents('php://input'); header('Content-Length: ' . strlen($body)); header('Request-Method: ' . $_SERVER['REQUEST_METHOD']); header('Request-Uri: ' . $_SERVER['REQUEST_URI']); +header('Path-Info: ' . $_SERVER['PATH_INFO']); header('Http-Host: ' . $_SERVER['HTTP_HOST']); header('Server-Protocol: ' . $_SERVER['SERVER_PROTOCOL']); header('Server-Software: ' . $_SERVER['SERVER_SOFTWARE']); -- cgit