Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 6fbcf69375
Fetching contributors…

Cannot retrieve contributors at this time

file 21 lines (21 sloc) 0.379 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
--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=/path/bla
PATH_INFO=/path/info
SCRIPT_NAME=path
END;
--FILE--
<?php
    echo $_SERVER['PATH_INFO'];
?>
--EXPECT--
/path/info
Something went wrong with that request. Please try again.