Return to test003.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / sapi / tests |
1.1 ! misho 1: --TEST-- ! 2: IIS style CGI missing SCRIPT_FILENAME, has PATH_INFO ! 3: --DESCRIPTION-- ! 4: This would be similar to what IIS produces for a simple query ! 5: that also has PATH_INFO. ! 6: --REQUEST-- ! 7: return <<<END ! 8: PATH_INFO=/path/info ! 9: END; ! 10: --ENV-- ! 11: return <<<END ! 12: PATH_TRANSLATED=/path/bla ! 13: PATH_INFO=/path/info ! 14: SCRIPT_NAME=path ! 15: END; ! 16: --FILE-- ! 17: <?php ! 18: echo $_SERVER['PATH_INFO']; ! 19: ?> ! 20: --EXPECT-- ! 21: /path/info