mirror of
https://github.com/php/php-src.git
synced 2024-12-15 21:05:51 +08:00
21 lines
407 B
PHP
21 lines
407 B
PHP
--TEST--
|
|
IIS style CGI missing SCRIPT_FILENAME, has PATH_INFO
|
|
--DESCRIPTION--
|
|
This would be similar to what IIS produces for a simple query
|
|
that also has PATH_INFO.
|
|
--REQUEST--
|
|
return <<<END
|
|
PATH_INFO=/path/info
|
|
END;
|
|
--ENV--
|
|
return <<<END
|
|
PATH_TRANSLATED=$filename/path/info
|
|
PATH_INFO=$scriptname/path/info
|
|
SCRIPT_NAME=$scriptname
|
|
END;
|
|
--FILE--
|
|
<?php
|
|
echo $_SERVER['PATH_INFO'];
|
|
?>
|
|
--EXPECT--
|
|
/path/info
|