Last active
September 19, 2016 04:41
-
-
Save HyodaKazuaki/1ad6eb7068d0e267ac6f641a5cb64fb3 to your computer and use it in GitHub Desktop.
PATHINFOの例
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 例 | |
http://example.jp/hoge/fuga.php # この場合は、hogeディレクトリ下のfuga.phpが呼び出される | |
http://example.jp/hoge.php/fuga # こうなると、hoge.phpディレクトリ下のfugaが存在しない場合、hoge.phpが呼び出され、/fugaはPATHINFOになる |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment