{"id":3819,"date":"2016-06-16T10:00:09","date_gmt":"2016-06-16T01:00:09","guid":{"rendered":"https:\/\/www.gigas-jp.com\/appnews\/?p=3819"},"modified":"2016-06-15T18:32:28","modified_gmt":"2016-06-15T09:32:28","slug":"%e6%96%b0%e4%ba%ba%e5%a5%ae%e9%97%98%e8%a8%98-1","status":"publish","type":"post","link":"https:\/\/www.gigas-jp.com\/appnews\/archives\/3819","title":{"rendered":"\u65b0\u4eba\u596e\u95d8\u8a18 1"},"content":{"rendered":"<p>\u5148\u65e5\u30b3\u30fc\u30c9\u3092\u773a\u3081\u3066\u3044\u308b\u3068\u3001\u3053\u306e\u3088\u3046\u306a\u8a18\u8ff0\u3092\u76ee\u306b\u3057\u3066\u3057\u307e\u3063\u305f<br \/>\n\u65b0\u4eba\u541b\u3067\u3059\u3002<\/p>\n<p><strong>dirname(__FILE__). &#8220;\/&#8221;;<\/strong><br \/>\n\u3093\uff1f\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u304c\u7565\u3055\u308c\u3066\u3044\u308b\uff01\uff1f<br \/>\n\u610f\u5473\u304c\u5206\u304b\u3089\u306a\u3044\u306e\u3067\u3001\u3068\u308a\u3042\u3048\u305a\u30de\u30cb\u30e5\u30a2\u30eb\u3092\u8aad\u3093\u3067\u307f\u308b\u3068\u3001\u3046\u3093\u305f\u3089\u304b\u3093\u305f\u3089\u3002<br \/>\n\u6b63\u76f4\u3042\u307e\u308a\u30d4\u30f3\u3068\u306f\u6765\u306a\u304b\u3063\u305f\uff01<\/p>\n<p>\u3084\u3063\u3071\u308a\u305d\u3046\u3044\u3046\u6642\u306f\u3001\u5b9f\u969b\u306b\u30a4\u30b8\u3063\u3066\u307f\u308b\u306e\u304c\u3044\u3044\u304b\u3068\u3044\u3046\u4e8b\u3067<br \/>\n\u3068\u308a\u3042\u3048\u305a\u5206\u89e3\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<h3>\u691c\u8a3c 1<\/h3>\n<p><strong>\u300cdirname()\u300d<\/strong>\u95a2\u6570\u5185\u306e\u5f15\u6570\u306b\u4f7f\u308f\u308c\u3066\u3044\u308b\u3001<strong>\u300c__FILE__\u300d<\/strong><br \/>\nPHP\u3067\u5b9a\u7fa9\u6e08\u307f\u306e\u5b9a\u6570\u3001\u30de\u30b8\u30c3\u30af\u5b9a\u6570\u3068\u547c\u3070\u308c\u308b\u3082\u306e\u3067\u3059\u3002<br \/>\n\u3069\u3046\u3084\u3089\u30de\u30cb\u30e5\u30a2\u30eb\u3092\u898b\u3066\u307f\u308b\u3068\u3001\uff5e\u30d5\u30a1\u30a4\u30eb\u306e\u30d5\u30eb\u30d1\u30b9\u3068\u30d5\u30a1\u30a4\u30eb\u540d\u304c\u8fd4\u3055\u308c\u308b\u3068\u66f8\u3044\u3066\u3042\u308b\u3002<br \/>\n\u4eca\u56de\u306fxampp\u4e0a\u306b\u3066\u5b9f\u884c\u3057\u3066\u307f\u308b\u4e8b\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306f\u3001localhost\/workspace\/FreeWrite\/index.php<\/p>\n<p style=\"text-align: center\"><strong>index.php<\/strong><\/p>\n<hr noshade=\"noshade\" \/>\n<p style=\"margin-bottom:0\">echo __FILE__;<\/p>\n<hr noshade=\"noshade\" \/>\n<p><strong>\u51fa\u529b\u7d50\u679c1<\/strong><br \/>\nC:\\xampp\\htdocs\\workspace\\FreeWrite\\index.php<\/p>\n<p>\u3057\u3063\u304b\u308a\u3068\u5b9f\u884c\u3082\u3068\u306e\u30d5\u30a1\u30a4\u30eb\u304c<br \/>\n\u30d5\u30eb\u30d1\u30b9\u3067\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>\u691c\u8a3c2<\/h3>\n<p style=\"text-align: center\"><strong>index.php<\/strong><\/p>\n<hr noshade=\"noshade\" \/>\n<p style=\"margin-bottom:0\">echo __FILE__dirname(__FILE__);<\/p>\n<hr noshade=\"noshade\" \/>\n<p><strong>\u51fa\u529b\u7d50\u679c2<\/strong><br \/>\nC:\\xampp\\htdocs\\workspace\\FreeWrite<\/p>\n<p>\u6307\u5b9a\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u306e\u89aa\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u8fd4\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\n\u304a\u6c17\u3065\u304d\u306e\u901a\u308a\u3001(\\)\u304c\u3042\u308a\u307e\u305b\u3093\u3002<br \/>\n\u5b9f\u969b\u3053\u308c\u3060\u3068\u3001FreeWrite\u76f4\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u306f\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u3044\u306e\u3067<br \/>\ndirname(__FILE__).&#8221;\\&#8221;; \u3068\u3059\u308b\u306e\u3067\u3059\u306d\u3002<br \/>\n\u5bfe\u8c61\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30b9\u3092\u6bce\u56de\u3001\u305f\u3069\u3063\u3066\u3044\u308b\u3068\u3001\u74b0\u5883\u306e\u5909\u5316\u304c\u3042\u3063\u305f\u5834\u5408\u3001<br \/>\n\u308f\u3056\u308f\u3056\u30d1\u30b9\u3092\u8a18\u8ff0\u3057\u76f4\u3055\u306a\u3051\u308c\u3070\u3044\u3051\u306a\u3044\u3002\u305d\u3093\u306a\u624b\u9593<br \/>\n\u3092\u7701\u304f\u4e8b\u304c\u3067\u304d\u305d\u3046\u3067\u3059\u3002<\/p>\n<p>\u307e\u305fdirname(__FILE__)\u3068\u540c\u7b49\u306e\u7d50\u679c\u3092\u5f97\u3089\u308c\u308b\u3001\u30de\u30b8\u30c3\u30af\u5b9a\u6570<br \/>\n<strong>__DIR__<\/strong>\u304c<strong>php5.3<\/strong>\u304b\u3089\u8ffd\u52a0\u3055\u308c\u307e\u3057\u305f\u3002<br \/>\n\u3053\u3061\u3089\u3082\u5b9f\u884c\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p style=\"text-align: center\"><strong>index.php<\/strong><\/p>\n<hr noshade=\"noshade\" \/>\n<p style=\"margin-bottom:0\">echo dirname(__FILE__).&#8221;&lt;br&gt;&#8221;;<br \/>\necho __DIR__.&#8221;\\&#8221;;<\/p>\n<hr noshade=\"noshade\" \/>\n<p><strong>\u51fa\u529b\u7d50\u679c3<\/strong><br \/>\nC:\\xampp\\htdocs\\workspace\\FreeWrite<br \/>\nC:\\xampp\\htdocs\\workspace\\FreeWrite\\<\/p>\n<p>\u78ba\u304b\u306b\u540c\u3058\u610f\u5473\u3068\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u4eca\u5f8c\u3001\u5f8c\u8005\u304c\u4e3b\u6d41\u306b\u306a\u308b\u3067\u306e\u3057\u3087\u3046\u304b\u3001\u7a4d\u6975\u7684\u306b\u4f7f\u3063\u3066\u3044\u304d\u305f\u3044\u3067\u3059\u306d\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>keny<\/p>\n<div class='wp_social_bookmarking_light'>\n            <div class=\"wsbl_google_plus_one\"><g:plusone size=\"medium\" annotation=\"none\" href=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/3819\" ><\/g:plusone><\/div>\n            <div class=\"wsbl_hatena_button\"><a href=\"\/\/b.hatena.ne.jp\/entry\/https:\/\/www.gigas-jp.com\/appnews\/archives\/3819\" class=\"hatena-bookmark-button\" data-hatena-bookmark-title=\"\u65b0\u4eba\u596e\u95d8\u8a18 1\" data-hatena-bookmark-layout=\"standard\" title=\"\u3053\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af\u306b\u8ffd\u52a0\"> <img src=\"\/\/b.hatena.ne.jp\/images\/entry-button\/button-only@2x.png\" alt=\"\u3053\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af\u306b\u8ffd\u52a0\" width=\"20\" height=\"20\" style=\"border: none;\" \/><\/a><script type=\"text\/javascript\" src=\"\/\/b.hatena.ne.jp\/js\/bookmark_button.js\" charset=\"utf-8\" async=\"async\"><\/script><\/div>\n            <div class=\"wsbl_twitter\"><a href=\"https:\/\/twitter.com\/share\" class=\"twitter-share-button\" data-url=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/3819\" data-text=\"\u65b0\u4eba\u596e\u95d8\u8a18 1\" data-via=\"GIGASJAPAN_APPS\" data-lang=\"ja\">Tweet<\/a><\/div>\n            <div class=\"wsbl_facebook_like\"><div id=\"fb-root\"><\/div><fb:like href=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/3819\" layout=\"button_count\" action=\"like\" width=\"100\" share=\"false\" show_faces=\"false\" ><\/fb:like><\/div>\n            <div class=\"wsbl_facebook_send\"><div id=\"fb-root\"><\/div><fb:send href=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/3819\" colorscheme=\"light\" ><\/fb:send><\/div>\n    <\/div>\n<br class='wp_social_bookmarking_light_clear' \/>\n","protected":false},"excerpt":{"rendered":"<p>\u5148\u65e5\u30b3\u30fc\u30c9\u3092\u773a\u3081\u3066\u3044\u308b\u3068\u3001\u3053\u306e\u3088\u3046\u306a\u8a18\u8ff0\u3092\u76ee\u306b\u3057\u3066\u3057\u307e\u3063\u305f \u65b0\u4eba\u541b\u3067\u3059\u3002 dirname(__FILE__). &#8220;\/&#8221;; \u3093\uff1f\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u304c\u7565\u3055\u308c\u3066\u3044\u308b\uff01\uff1f \u610f\u5473\u304c\u5206\u304b\u3089\u306a\u3044\u306e\u3067\u3001\u3068\u308a\u3042\u3048\u305a\u30de\u30cb\u30e5 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[27,35],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts\/3819"}],"collection":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/comments?post=3819"}],"version-history":[{"count":39,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts\/3819\/revisions"}],"predecessor-version":[{"id":3870,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts\/3819\/revisions\/3870"}],"wp:attachment":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/media?parent=3819"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/categories?post=3819"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/tags?post=3819"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}