Skip to content

Instantly share code, notes, and snippets.

@HyodaKazuaki
Last active September 19, 2016 04:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HyodaKazuaki/1ad6eb7068d0e267ac6f641a5cb64fb3 to your computer and use it in GitHub Desktop.
Save HyodaKazuaki/1ad6eb7068d0e267ac6f641a5cb64fb3 to your computer and use it in GitHub Desktop.
PATHINFOの例
# 例
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