{"id":25276,"date":"2017-06-16T18:34:13","date_gmt":"2017-06-16T09:34:13","guid":{"rendered":"http:\/\/www.sejuku.net\/blog\/?p=25276"},"modified":"2024-05-06T11:43:18","modified_gmt":"2024-05-06T02:43:18","slug":"%e3%80%90php%e5%85%a5%e9%96%80%e3%80%91%e3%82%bb%e3%83%83%e3%82%b7%e3%83%a7%e3%83%b3%e3%81%ae%e4%bd%bf%e3%81%84%e6%96%b9","status":"publish","type":"post","link":"https:\/\/www.sejuku.net\/blog\/25276","title":{"rendered":"\u3010PHP\u5165\u9580\u3011\u5fb9\u5e95\u89e3\u8aac\uff01PHP\u3067\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u4f7f\u3046\u65b9\u6cd5\uff5e\u57fa\u672c\u304b\u3089\u5fdc\u7528\u307e\u3067"},"content":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\uff01\u30d5\u30ea\u30fc\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u305b\u304d\u3067\u3059\u3002<\/p>\n<p>PHP\u306b\u9650\u3089\u305a\u3001Web\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306b\u304a\u3044\u3066\u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u6982\u5ff5\u306f\u907f\u3051\u3066\u306f\u901a\u308c\u307e\u305b\u3093\u3002\u30e6\u30fc\u30b6\u30fc\u304c\u30ed\u30b0\u30a4\u30f3\u30fb\u30ed\u30b0\u30a2\u30a6\u30c8\u3059\u308b\u3088\u3046\u306a\u30b7\u30b9\u30c6\u30e0\u304c\u51fa\u6765\u308b\u306e\u306f\u5b9f\u306f\u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u304a\u304b\u3052\u306a\u306e\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u307e\u305a\u30bb\u30c3\u30b7\u30e7\u30f3\u3068\u306f\u4f55\u304b\u3084\u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u4f7f\u3044\u65b9\u3001<b>\u30bb\u30c3\u30b7\u30e7\u30f3\u3068\u8a00\u3046\u3082\u306e\u304c\u3069\u3046\u3044\u3046\u3053\u3068\u304b<\/b>\u3068\u8a00\u3046\u3053\u3068\u3068\u3001<b>PHP\u3067\u306e\u5177\u4f53\u7684\u306a\u5229\u7528\u65b9\u6cd5<\/b>\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<div class=\"box01\">\n<ul>\n<li><b>\u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u6709\u52b9\u671f\u9650\u306b\u3064\u3044\u3066\u77e5\u308a\u305f\u3044<\/b><\/li>\n<li><b>\u30ed\u30b0\u30a4\u30f3\u6a5f\u80fd\u3067\u306e\u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u4f7f\u3044\u65b9\u3092\u77e5\u308a\u305f\u3044<\/b><\/li>\n<li><b>\u30bb\u30c3\u30b7\u30e7\u30f3\u60c5\u5831\u3092\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3067\u7ba1\u7406\u3059\u308b\u65b9\u6cd5\u3092\u77e5\u308a\u305f\u3044<\/b><\/li>\n<\/ul>\n<\/div>\n<p>\u3068\u3044\u3063\u305f\u5fdc\u7528\u7684\u306a\u5185\u5bb9\u306b\u95a2\u3057\u3066\u3082\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\uff01<\/p>\n<h2>\u30bb\u30c3\u30b7\u30e7\u30f3\u3068\u306f<\/h2>\n<p>PHP\u306b\u304a\u3051\u308b\u30bb\u30c3\u30b7\u30e7\u30f3(session)\u306e\u5177\u4f53\u7684\u306a\u4f7f\u7528\u4f8b\u306b\u3064\u3044\u3066\u8aac\u660e\u3059\u308b\u524d\u306b\u3001\u307e\u305a\u306f\u6982\u5ff5\u305d\u306e\u3082\u306e\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u305d\u308c\u304cPHP\u306b\u304a\u3044\u3066\u3069\u306e\u3088\u3046\u306b\u4f7f\u7528\u3055\u308c\u3066\u3044\u308b\u304b\u306b\u3064\u3044\u3066\u3082\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h3>\u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u6982\u5ff5<\/h3>\n<p>\u30bb\u30c3\u30b7\u30e7\u30f3\u3068\u306f<b>Web\u30b5\u30a4\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u884c\u3046\u4e00\u9023\u306e\u884c\u52d5<\/b>\u3092\u793a\u3057\u307e\u3059\u3002Web\u30b5\u30a4\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u305d\u306e\u30b5\u30a4\u30c8\u304b\u3089\u51fa\u3066\u884c\u304f\u304b\u30d6\u30e9\u30a6\u30b6\u3092\u9589\u3058\u308b\u307e\u3067\u304c1\u30bb\u30c3\u30b7\u30e7\u30f3\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>Web\u30b5\u30fc\u30d0\u306f\u30bb\u30c3\u30b7\u30e7\u30f3\u3054\u3068\u306b\u4e00\u610f\u306eID\u3092\u6301\u3061\u3053\u308c\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u8907\u6570\u30da\u30fc\u30b8\u306b\u307e\u305f\u304c\u308bWeb\u30b7\u30b9\u30c6\u30e0\u3067\u3042\u3063\u3066\u3082\u30e6\u30fc\u30b6\u3054\u3068\u306e\u60c5\u5831\u3092\u4fdd\u5b58\u3057\u4f7f\u3044\u7d9a\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u7528\u3044\u308b\u65b9\u6cd5\u3067\u6700\u3082\u5178\u578b\u7684\u306a\u306e\u304cWeb\u30da\u30fc\u30b8\u3067\u6700\u3082\u3088\u304f\u7528\u3044\u3089\u308c\u308b\u306e\u304c\u30ed\u30b0\u30a4\u30f3\u30fb\u30ed\u30b0\u30a2\u30a6\u30c8\u6a5f\u80fd\u3067\u3059\u3002\u30ed\u30b0\u30a4\u30f3\u3092\u3057\u3066\u304b\u3089\u30ed\u30b0\u30a2\u30a6\u30c8\u3092\u3059\u308b\u307e\u3067\u3092\u4e00\u3064\u306e\u30bb\u30c3\u30b7\u30e7\u30f3\u3068\u8003\u3048\u305d\u306e\u9593\u30e6\u30fc\u30b6\u30fcID\u3084\u30d1\u30b9\u30ef\u30fc\u30c9\u306a\u3069\u306e\u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/p>\n<h3>\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u4f7f\u3046\u7406\u7531<\/h3>\n<p>\u3067\u306f\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u306f\u306a\u305c\u5fc5\u8981\u306a\u306e\u3067\u3057\u3087\u3046\u304b\uff1f\u5b9f\u306f<b>Web\u3067\u7528\u3044\u3089\u308c\u308bHTTP\u30d7\u30ed\u30c8\u30b3\u30eb\u306b\u306f\u72b6\u614b\u3092\u7ba1\u7406\u3059\u308b\u65b9\u6cd5\u304c\u7121\u3044\u304b\u3089<\/b>\u3067\u3059\u3002\u3064\u307e\u308a\u3001\u3042\u308bWeb\u30da\u30fc\u30b8\u306b\u3001\u3069\u3093\u306a\u4eba\u304c\u4f55\u56de\u30a2\u30af\u30bb\u30b9\u3057\u305f\u306e\u304b\u3068\u304b\u3001\u3069\u3046\u3044\u3046\u7d4c\u7def\u3067\u30a2\u30af\u30bb\u30b9\u3057\u305f\u306e\u304b\u3068\u3063\u305f\u60c5\u5831\u3092HTTP\u30d7\u30ed\u30c8\u30b3\u30eb\u3067\u306f\u4fdd\u6301\u3067\u304d\u306a\u3044\u306e\u3067\u3059\u3002<\/p>\n<p>\u305d\u308c\u3092\u88dc\u3046\u610f\u5473\u3067\u3042\u3068\u304b\u3089\u30bb\u30c3\u30b7\u30e7\u30f3\u3068\u8a00\u3046\u6982\u5ff5\u304c\u5c0e\u5165\u3055\u308c\u305f\u306e\u3067\u3059\u3002PHP\u306b\u304a\u3044\u3066\u30bb\u30c3\u30b7\u30e7\u30f3\u60c5\u5831\u3092\u4fdd\u6301\u3059\u308b\u305f\u3081\u306e\u5909\u6570\u3068\u3057\u3066\u3001\u30b9\u30fc\u30d1\u30fc\u30b0\u30ed\u30fc\u30d0\u30eb $_SESSION\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>\u30bb\u30c3\u30b7\u30e7\u30f3\u3068\u30af\u30c3\u30ad\u30fc(Cookie)<\/h3>\n<p>\u306a\u304a\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u3068\u4f3c\u305f\u6982\u5ff5\u306b\u30af\u30c3\u30ad\u30fc(Cookie)\u3068\u547c\u3070\u308c\u308b\u3082\u306e\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u3082\u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u4fdd\u5b58\u3059\u308b\u305f\u3081\u306e\u3082\u306e\u3067\u3059\u304c\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u306b\u5168\u3066\u306e\u5024\u3092\u4fdd\u5b58\u3055\u305b\u307e\u3059\u304b\u3089\u3001\u57fa\u672c\u7684\u306b\u9055\u3046\u6982\u5ff5\u3067\u3059\u3002<\/p>\n<p>\u305f\u3060\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u72b6\u614b\u3092\u4e00\u6642\u7684\u306b\u30af\u30c3\u30ad\u30fc\u306b\u4fdd\u5b58\u3059\u308b\u3053\u3068\u3082\u6709\u308a\u307e\u3059\u304b\u3089\u3001\u76f8\u4e92\u306b\u6df1\u3044\u95a2\u4fc2\u306b\u3042\u308b\u3053\u3068\u306f\u9593\u9055\u3044\u3042\u308a\u307e\u305b\u3093\u3002\u3061\u306a\u307f\u306b\u3001\u30af\u30c3\u30ad\u30fc\u3092\u6271\u3046\u30b9\u30fc\u30d1\u30fc\u30b0\u30ed\u30fc\u30d0\u30eb\u3068\u3057\u3066\u3001PHP\u306b\u306f$_COOKIE\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u4f7f\u3044\u65b9<\/h2>\n<h3>\u30bb\u30c3\u30b7\u30e7\u30f3\u7ba1\u7406\u3092\u958b\u59cb\u3059\u308b<\/h3>\n<p>\u30bb\u30c3\u30b7\u30e7\u30f3\u7ba1\u7406\u3092\u958b\u59cb\u3059\u308b\u306b\u306f\u3001session_start\u95a2\u6570\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002session_start\u306f\u65b0\u3057\u3044\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u958b\u59cb\u3057\u307e\u3059\u3002\u65e2\u306b\u958b\u59cb\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u305d\u306e\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u518d\u958b\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">session_start();<\/pre>\n<p>\u3053\u308c\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u7ba1\u7406\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3>\u30bb\u30c3\u30b7\u30e7\u30f3\u3078\u306e\u5909\u6570\u306e\u767b\u9332\u3068\u524a\u9664<\/h3>\n<p>\u3059\u3067\u306b\u8aac\u660e\u3057\u305f\u3068\u304a\u308a\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u30c7\u30fc\u30bf\u306f\u3001\u30b9\u30fc\u30d1\u30fc\u30b0\u30ed\u30fc\u30d0\u30eb$_SESSION\u304c\u30ad\u30fc\u3068\u5024\u306e\u30da\u30a2\u3067\u7ba1\u7406\u3057\u307e\u3059\u3002\u30bb\u30c3\u30b7\u30e7\u30f3\u306b\u5909\u6570\u3092\u767b\u9332\u3059\u308b\u306b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">$_SESSION[\u30ad\u30fc\u540d] = \u5024;<\/pre>\n<p>\u4ee5\u4e0b\u306f\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u306b\u5909\u6570\u3092\u767b\u9332\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u3067\u3059\u3002<\/p>\n<pre class=\"decode:true \">&lt;?php\r\n\/\/ \u30bb\u30c3\u30b7\u30e7\u30f3\u7ba1\u7406\u958b\u59cb\r\nsession_start();\r\n \r\nif (!isset($_SESSION['count'])) {\r\n    \/\/ \u30ad\u30fc'count'\u304c\u767b\u9332\u3055\u308c\u3066\u3044\u306a\u3051\u308c\u3070\u30011\u3092\u8a2d\u5b9a\r\n    $_SESSION['count'] = 1;\r\n} else {\r\n    \/\/  \u30ad\u30fc'count'\u304c\u767b\u9332\u3055\u308c\u3066\u3044\u308c\u3070\u3001\u305d\u306e\u5024\u3092\u30a4\u30f3\u30af\u30ea\u30e1\u30f3\u30c8\r\n    $_SESSION['count']++;\r\n}\r\n \r\necho $_SESSION['count'].\"\u56de\u76ee\u306e\u8a2a\u554f\u3067\u3059\u3002\";\r\n?&gt;<\/pre>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">1\u56de\u76ee\u306e\u8a2a\u554f\u3067\u3059\u3002<\/pre>\n<p>\u300csession_start();\u300d\u3067\u30bb\u30c3\u30b7\u30e7\u30f3\u7ba1\u7406\u3092\u958b\u59cb\u3057\u307e\u3059\u3002isset\u95a2\u6570\u306f\u3001\u5909\u6570\u304c\u30bb\u30c3\u30c8\u3055\u308c\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3092\u8fd4\u3059\u95a2\u6570\u3067\u3059\u3002isset($_SESSION[\u2018count\u2019]\u300d\u3067\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u306b\u30ad\u30fc\u2019count\u2019\u304c\u767b\u9332\u3055\u308c\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3092\u5224\u65ad\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u767b\u9332\u3055\u308c\u3066\u3044\u306a\u3051\u308c\u3070\u300c$_SESSION[\u2018count\u2019] = 1;\u300d\u30671\u3092\u767b\u9332\u3057\u3001\u767b\u9332\u3055\u308c\u3066\u3044\u308c\u3070\u300c$_SESSION[\u2018count\u2019]++;\u300d\u3067\u305d\u306e\u5024\u3092\u30a4\u30f3\u30af\u30ea\u30e1\u30f3\u30c8\u3057\u307e\u3059\u3002\u5b9f\u884c\u7d50\u679c\u306f\u3001\u521d\u3081\u3066\u30a2\u30af\u30bb\u30b9\u3057\u305f\u5834\u5408\u3067\u3059\u3002\u540c\u3058\u30d6\u30e9\u30a6\u30b6\u3067\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u3001\u8a2a\u554f\u56de\u6570\u306f\u30a4\u30f3\u30af\u30ea\u30e1\u30f3\u30c8\u3055\u308c\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>\u9055\u3046\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u3001\u305d\u308c\u306f\u9055\u3046\u30bb\u30c3\u30b7\u30e7\u30f3\u306b\u306a\u308b\u305f\u3081\u8a2a\u554f\u56de\u6570\u306f1\u304b\u3089\u59cb\u307e\u308a\u307e\u3059\u3002\u767b\u9332\u3057\u305f\u5909\u6570\u3092\u524a\u9664\u3059\u308b\u306b\u306f\u3001unset\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3057\u307e\u3059\u3002\u6b21\u306f\u30bb\u30c3\u30b7\u30e7\u30f3\u304b\u3089\u767b\u9332\u3057\u305f\u5909\u6570\u3092\u524a\u9664\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u3067\u3059\u3002<\/p>\n<pre class=\"decode:true \">&lt;?php\r\n\/\/ \u30bb\u30c3\u30b7\u30e7\u30f3\u7ba1\u7406\u958b\u59cb\r\nsession_start();\r\n\r\n\/\/ \u30ad\u30fc'count'\u3067\u767b\u9332\r\n$_SESSION['count'] = 0;\r\n\r\n\/\/ \u30ad\u30fc'count'\u3092\u524a\u9664\r\nunset($_SESSION['count']);\r\necho $_SESSION['count'];\r\n?&gt;<\/pre>\n<p>\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u300cecho $_SESSION[\u2018count\u2019];\u300d\u3067\u5024\u304c\u306a\u3044\u305f\u3081\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">Notice: Undefined index: count in C:xampphtdocssample.php on line 21<\/pre>\n<h2>\u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u6709\u52b9\u671f\u9650\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5<\/h2>\n<p>\u30bb\u30c3\u30b7\u30e7\u30f3\u306b\u306f\u6709\u52b9\u671f\u9650\u304c\u3042\u308a\u307e\u3059\u3002\u6709\u52b9\u671f\u9650\u3092\u904e\u304e\u308b\u3068\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u3067\u4fdd\u6301\u3055\u308c\u3066\u3044\u305f\u60c5\u5831\u306f\u524a\u9664\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3044\u305fWeb\u30b7\u30b9\u30c6\u30e0\u3092\u653e\u7f6e\u3057\u3001\u518d\u5ea6\u30ed\u30b0\u30a4\u30f3\u8981\u6c42\u304c\u304d\u305f\u308a\u3001\u30b7\u30e7\u30c3\u30d4\u30f3\u30b0\u30b5\u30a4\u30c8\u3067\u8cb7\u3044\u7269\u304b\u3054\u306b\u5165\u308c\u305f\u307e\u307e\u653e\u7f6e\u3057\u3001\u8cb7\u3044\u7269\u304b\u3054\u304c\u7a7a\u306b\u306a\u3063\u3066\u3044\u305f\u308a\u3059\u308b\u306e\u306f\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u6709\u52b9\u671f\u9650\u3092\u904e\u304e\u305f\u305f\u3081\u3067\u3059\u3002<\/p>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u306fphp.ini\u306e\u300csession.cookie_lifetime\u300d\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u79d2\u6570\u3067\u3059\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f0\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u304a\u308a\u3001\u30d6\u30e9\u30a6\u30b6\u304c\u9589\u3058\u308b\u307e\u3067\u6709\u52b9\u3068\u306a\u308a\u307e\u3059\u3002\u3053\u306e\u5024\u306f\u30d7\u30ed\u30b0\u30e9\u30e0\u304b\u3089\u4e0a\u66f8\u304d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f2\u3064\u306e\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<h3>session_start\u95a2\u6570\u306b\u3088\u308b\u8a2d\u5b9a<\/h3>\n<p>1\u3064\u76ee\u306f<b>session_start\u95a2\u6570\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3068\u3057\u3066\u3001\u6709\u52b9\u671f\u9650\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5<\/b>\u3067\u3059\u3002PHP7.0.0\u304b\u3089session_start\u95a2\u6570\u306b\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u3001php.ini\u306e\u30bb\u30c3\u30b7\u30e7\u30f3\u306b\u95a2\u3059\u308b\u8a2d\u5b9a\u3092\u4e0a\u66f8\u304d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u6709\u52b9\u671f\u9650\u3092\u4e0a\u66f8\u304d\u3059\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"decode:true \">&lt;?php\r\nsession_start([\r\n    'cookie_lifetime' =&gt; $300,\r\n]);\r\n?&gt;<\/pre>\n<p>\u6709\u52b9\u671f\u9650\u3092\u79d2\u6570\u3067\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<h3>session_set_cookie_params\u95a2\u6570\u306b\u3088\u308b\u8a2d\u5b9a<\/h3>\n<p>2\u3064\u76ee\u306f<b>\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u958b\u59cb\u3059\u308b\u524d\u306bsession_set_cookie_params\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5<\/b>\u3067\u3059\u3002<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">session_set_cookie_params(int $\u6709\u52b9\u671f\u9650[, string $\u30c9\u30e1\u30a4\u30f3\u4e0a\u306e\u30d1\u30b9[, string $\u30c9\u30e1\u30a4\u30f3[, bool $\u30bb\u30ad\u30e5\u30a2\u306a\u63a5\u7d9a\u306e\u5834\u5408\u306e\u307f\u30af\u30c3\u30ad\u30fc\u3092\u9001\u4fe1\u3059\u308b\u304b\u3069\u3046\u304b[, bool $HTTP\u901a\u4fe1\u306e\u5834\u5408\u306e\u307f\u30af\u30c3\u30ad\u30fc\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u304b\u3069\u3046\u304b ]]]])<\/pre>\n<p>\u5f15\u6570\u306b\u3064\u3044\u3066\u3001\u9806\u756a\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n<div class=\"box01\">\n<ul>\n<li><b>\u6709\u52b9\u671f\u9650<\/b><\/li>\n<\/ul>\n<p>\u6709\u52b9\u671f\u9650\u3092\u79d2\u6570\u3067\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li><b>\u30c9\u30e1\u30a4\u30f3\u4e0a\u306e\u30d1\u30b9<\/b><\/li>\n<\/ul>\n<p>\u30b5\u30fc\u30d0\u30fc\u4e0a\u3067\u30af\u30c3\u30ad\u30fc\u3092\u6709\u52b9\u3068\u3057\u305f\u3044\u30d1\u30b9\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002 \u30b9\u30e9\u30c3\u30b7\u30e5\uff08\u2019\/\u2019\uff09 \u3092\u30bb\u30c3\u30c8\u3059\u308b\u3068\u3001\u30af\u30c3\u30ad\u30fc\u306f\u30c9\u30e1\u30a4\u30f3\u914d\u4e0b\u306e\u5168\u3066\u306e\u30d1\u30b9\u3067\u6709\u52b9\u3068\u306a\u308a\u307e\u3059\u3002 \u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u306f\u3001\u30af\u30c3\u30ad\u30fc\u304c\u30bb\u30c3\u30c8\u3055\u308c\u305f\u3068\u304d\u306e\u30ab\u30ec\u30f3\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3067\u3059\u3002<\/p>\n<ul>\n<li><b>\u30c9\u30e1\u30a4\u30f3<\/b><\/li>\n<\/ul>\n<p>\u30af\u30c3\u30ad\u30fc\u3092\u6709\u52b9\u3068\u3057\u305f\u3044\u30c9\u30e1\u30a4\u30f3\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li><b>\u30bb\u30ad\u30e5\u30a2\u306a\u63a5\u7d9a\u306e\u5834\u5408\u306e\u307f\u30af\u30c3\u30ad\u30fc\u3092\u9001\u4fe1\u3059\u308b\u304b\u3069\u3046\u304b<\/b><\/li>\n<\/ul>\n<p>TRUE\u3092\u8a2d\u5b9a\u3059\u308b\u3068\u3001HTTPS\u63a5\u7d9a\u306e\u5834\u5408\u306b\u306e\u307f\u30af\u30c3\u30ad\u30fc\u304c\u9001\u4fe1\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u306fFALSE\u3067\u3059\u3002<\/p>\n<ul>\n<li><b>HTTP\u901a\u4fe1\u306e\u5834\u5408\u306e\u307f\u30af\u30c3\u30ad\u30fc\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u304b\u3069\u3046\u304b<\/b><\/li>\n<\/ul>\n<p>TRUE\u3092\u8a2d\u5b9a\u3059\u308b\u3068\u3001HTTP\u901a\u4fe1\u306e\u307f\u30af\u30c3\u30ad\u30fc\u306b\u30a2\u30af\u30bb\u30b9\u3092\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u3001JavaScript\u306e\u3088\u3046\u306a\u30b9\u30af\u30ea\u30d7\u30c8\u8a00\u8a9e\u304b\u3089\u306f\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u304f\u3067\u304d\u307e\u3059\u3002<\/div><\/p>\n<p>\u4ee5\u4e0b\u306b\u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u6709\u52b9\u671f\u9650\u3092\u8a2d\u5b9a\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u3092\u793a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"decode:true \">&lt;?php\r\n\/\/ \u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u6709\u52b9\u671f\u9650\u30925\u5206\u306b\u8a2d\u5b9a\r\nsession_set_cookie_params(60 * 5);\r\n \r\n\/\/ \u30bb\u30c3\u30b7\u30e7\u30f3\u7ba1\u7406\u958b\u59cb\r\nsession_start();\r\n \r\nif (!isset($_SESSION['count'])) {\r\n    \/\/ \u30ad\u30fc'count'\u304c\u767b\u9332\u3055\u308c\u3066\u3044\u306a\u3051\u308c\u3070\u30011\u3092\u8a2d\u5b9a\r\n    $_SESSION['count'] = 1;\r\n} else {\r\n    \/\/  \u30ad\u30fc'count'\u304c\u767b\u9332\u3055\u308c\u3066\u3044\u308c\u3070\u3001\u305d\u306e\u5024\u3092\u30a4\u30f3\u30af\u30ea\u30e1\u30f3\u30c8\r\n    $_SESSION['count']++;\r\n}\r\n \r\necho $_SESSION['count'].\"\u56de\u76ee\u306e\u8a2a\u554f\u3067\u3059\u3002\";\r\n?&gt;<\/pre>\n<p>\u5148\u307b\u3069\u3068\u540c\u3058\u51e6\u7406\u3092\u3057\u3066\u3044\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u3059\u304c\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u7ba1\u7406\u3092\u958b\u59cb\u3059\u308b\u524d\u306b\u300csession_set_cookie_params(60 * 5);\u300d\u3067\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u6709\u52b9\u671f\u9650\u30925\u5206\u306b\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u3088\u3046\u306b\u8a2d\u5b9a\u3059\u308b\u3068\u30015\u5206\u9593\u306f\u30d6\u30e9\u30a6\u30b6\u3092\u9589\u3058\u3066\u3082\u3001\u540c\u3058\u30d6\u30e9\u30a6\u30b6\u3067\u3042\u308c\u3070\u8a2a\u554f\u56de\u6570\u304c\u30a4\u30f3\u30af\u30ea\u30e1\u30f3\u30c8\u3055\u308c\u3066\u3044\u304d\u307e\u3059\u30025\u5206\u9593\u30a2\u30af\u30bb\u30b9\u304c\u306a\u3051\u308c\u3070\u3001\u307e\u305f\u8a2a\u554f\u56de\u6570\u306f1\u304b\u3089\u59cb\u307e\u308a\u307e\u3059\u3002\u300csession.cookie_lifetime\u300d\u306f\u3001\u30bb\u30c3\u30b7\u30e7\u30f3ID\u304c\u4fdd\u5b58\u3055\u308c\u3066\u3044\u308b\u30af\u30c3\u30ad\u30fc\u306e\u6709\u52b9\u671f\u9650\u3067\u3059\u3002<\/p>\n<p>php.ini\u3067\u306f\u300csession.gc_maxlifetime\u300d\u3067\u3001\u30b5\u30fc\u30d0\u306e\u30bb\u30c3\u30b7\u30e7\u30f3\u30d5\u30a1\u30a4\u30eb\u3092\u524a\u9664\u3059\u308b\u79d2\u6570\u306e\u8a2d\u5b9a\u3082\u3067\u304d\u307e\u3059\u3002\u300csession.cookie_lifetime\u300d\u304c0\uff08\u30d6\u30e9\u30a6\u30b6\u304c\u9589\u3058\u308b\u307e\u3067\u6709\u52b9\uff09\u3067\u3042\u3063\u3066\u3082\u3001\u300csession.gc_maxlifetime\u300d\u306e\u8a2d\u5b9a\u306b\u3088\u308a\u30bb\u30c3\u30b7\u30e7\u30f3\u304c\u5207\u308c\u308b\u3053\u3068\u304c\u3042\u308b\u306e\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2>\u30ed\u30b0\u30a4\u30f3\u6a5f\u80fd\u306b\u304a\u3051\u308b\u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u4f7f\u7528\u65b9\u6cd5<\/h2>\n<p>Web\u30b7\u30b9\u30c6\u30e0\u306e\u30e6\u30fc\u30b6ID\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u306a\u3069\u306b\u3088\u308b\u30ed\u30b0\u30a4\u30f3\u6a5f\u80fd\u306f\u3001\u901a\u5e38\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u4f7f\u7528\u3057\u3066\u5b9f\u73fe\u3057\u3066\u3044\u307e\u3059\u3002\u30ed\u30b0\u30a4\u30f3\u8a8d\u8a3c\u306b\u6210\u529f\u3057\u305f\u3089\u30bb\u30c3\u30b7\u30e7\u30f3\u306b\u30e6\u30fc\u30b6\u306e\u60c5\u5831\u3092\u767b\u9332\u3057\u3001\u305d\u308c\u4ee5\u964d\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u6642\u306b\u306f\u30bb\u30c3\u30b7\u30e7\u30f3\u304b\u3089\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3044\u308b\u30e6\u30fc\u30b6\u306e\u60c5\u5831\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<p>HTML\u306e\u30d5\u30a9\u30fc\u30e0\u304b\u3089\u30e6\u30fc\u30b6ID\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u9001\u4fe1\u3057\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u306b\u767b\u9332\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u3067\u3059\u3002<\/p>\n<p>login.html<\/p>\n<pre class=\"decode:true \">&lt;html&gt;\r\n&lt;head&gt;&lt;\/head&gt;\r\n&lt;body&gt;\r\n&lt;form action=\"login.php\" method=\"post\"&gt;\r\n    \u30e6\u30fc\u30b6ID: &lt;input type=\"text\" name=\"userid\" \/&gt;&lt;br&gt;\r\n    \u30d1\u30b9\u30ef\u30fc\u30c9: &lt;input type=\"password\" name=\"passwd\" \/&gt;&lt;br&gt;\r\n    &lt;input type=\"submit\" name=\"\u30ed\u30b0\u30a4\u30f3\"\/&gt;\r\n&lt;\/form&gt;\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;<\/pre>\n<p>login.php<\/p>\n<pre class=\"decode:true \">&lt;?php\r\n\/\/ \u30bb\u30c3\u30b7\u30e7\u30f3\u7ba1\u7406\u958b\u59cb\r\nsession_start();\r\n\r\n\/\/ \u30d5\u30a9\u30fc\u30e0\u304b\u3089\u9001\u4fe1\u3055\u308c\u3066\u304f\u308b\u30e6\u30fc\u30b6ID\r\n$userId = $_POST['userid'];\r\n\r\nif (!isset($_SESSION[$userId])) {\r\n    \/\/ \u521d\u3081\u3066\u306e\u30e6\u30fc\u30b6\u306f\u30bb\u30c3\u30b7\u30e7\u30f3\u306b\u30e6\u30fc\u30b6ID\u3092\u30bb\u30c3\u30c8\r\n    $_SESSION[$userId] = $userId;\r\n    echo \"\u30ed\u30b0\u30a4\u30f3\u3057\u307e\u3057\u305f\u3002\";\r\n} else {\r\n    echo \"\u30ed\u30b0\u30a4\u30f3\u6e08\u307f\u3067\u3059\u3002\";\r\n}\r\n?&gt;<\/pre>\n<p>\u30e6\u30fc\u30b6ID\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3057\u3066\u30ed\u30b0\u30a4\u30f3\u30dc\u30bf\u30f3\u3092\u62bc\u3059\u3068\u3001\u30d5\u30a9\u30fc\u30e0\u306e\u9001\u4fe1\u5148\u3067\u3042\u308blogin.php\u306b\u30c7\u30fc\u30bf\u304c\u9001\u4fe1\u3055\u308c\u3001login.php\u3067\u306f\u3001\u30e6\u30fc\u30b6ID\u304c\u300c$_SESSION[$userId]\u300d\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u300c$_SESSION[$passwd]\u300d\u3067\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" class=\"size-full wp-image-36315\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/10\/screen1.png\" alt=\"login.html\" width=\"320\" height=\"140\" border=\"1\" srcset=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/10\/screen1.png 320w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/10\/screen1-150x66.png 150w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/10\/screen1-300x131.png 300w\" sizes=\"(max-width: 320px) 100vw, 320px\" \/><div class=\"img-caption\">\u753b\u50cf\uff1a\u30ed\u30b0\u30a4\u30f3\u753b\u9762<\/div><\/p>\n<p>\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u3067\u306f\u3001\u521d\u3081\u3066\u306e\u30a2\u30af\u30bb\u30b9\u6642\u306b\u300c$_SESSION[$userId] = $userId;\u300d\u3067\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u306b\u30e6\u30fc\u30b6ID\u3092\u767b\u9332\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" class=\"size-full wp-image-36316\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/10\/screen2.png\" alt=\"login.php\" width=\"320\" height=\"160\" border=\"1\" srcset=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/10\/screen2.png 320w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/10\/screen2-150x75.png 150w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/10\/screen2-300x150.png 300w\" sizes=\"(max-width: 320px) 100vw, 320px\" \/><div class=\"img-caption\">\u753b\u50cf\uff1a\u30ed\u30b0\u30a4\u30f3\u5f8c\u753b\u9762<\/div><\/p>\n<p>\u540c\u3058\u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u6b21\u56de\u306e\u30a2\u30af\u30bb\u30b9\u3067\u306f\u300c$_SESSION[$userId]\u300d\u304c\u767b\u9332\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u30ed\u30b0\u30a4\u30f3\u6e08\u307f\u306a\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059<\/p>\n<h3>\u30bb\u30c3\u30b7\u30e7\u30f3\u60c5\u5831\u3092\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3067\u7ba1\u7406\u3059\u308b\u65b9\u6cd5<\/h3>\n<p>\u901a\u5e38\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u60c5\u5831\u306fWeb\u30b5\u30fc\u30d0\u306b\u30d5\u30a1\u30a4\u30eb\u3068\u3057\u3066\u4fdd\u5b58\u3055\u308c\u307e\u3059\u304c\u3001\u3053\u308c\u3092\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u4fdd\u5b58\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<h4>\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3067\u7ba1\u7406\u3059\u308b\u3053\u3068\u306e\u5229\u70b9<\/h4>\n<p>\u8ca0\u8377\u5206\u6563\u3092\u8003\u3048\u3001Web\u30b7\u30b9\u30c6\u30e0\u3092\u8907\u6570\u306eWeb\u30b5\u30fc\u30d0\u3067\u69cb\u7bc9\u3057\u305f\u5834\u5408\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u60c5\u5831\u3092\u5404Web\u30b5\u30fc\u30d0\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u4fdd\u5b58\u3057\u3066\u3057\u307e\u3046\u3068\u3001\u63a5\u7d9a\u3059\u308bWeb\u30b5\u30fc\u30d0\u304c\u5909\u308f\u308b\u3054\u3068\u306b\u30bb\u30c3\u30b7\u30e7\u30f3\u60c5\u5831\u304c\u53d6\u5f97\u3067\u304d\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p>\u8907\u6570\u306eWeb\u30b5\u30fc\u30d0\u3067\u5171\u901a\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30b5\u30fc\u30d0\u3092\u6301\u3061\u3001\u305d\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3067\u30bb\u30c3\u30b7\u30e7\u30f3\u60c5\u5831\u3092\u7ba1\u7406\u3059\u308b\u3053\u3068\u3067\u3001\u63a5\u7d9a\u3059\u308bWeb\u30b5\u30fc\u30d0\u304c\u5909\u308f\u3063\u3066\u3082\u30bb\u30c3\u30b7\u30e7\u30f3\u60c5\u5831\u3092\u5f15\u304d\u7d99\u3050\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30bb\u30c3\u30b7\u30e7\u30f3\u60c5\u5831\u3092\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u4fdd\u5b58\u3059\u308b\u30e1\u30ea\u30c3\u30c8\u306f\u305d\u308c\u3060\u3051\u3067\u306f\u6709\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u305d\u306e\u4ed6\u306b\u3082\u3001<\/p>\n<div class=\"box01\">\n<ul>\n<li><b>\u30bb\u30c3\u30b7\u30e7\u30f3\u60c5\u5831\u3092\u53ef\u8996\u5316\u3067\u304d\u308b<\/b><\/li>\n<li><b>\u30bb\u30c3\u30b7\u30e7\u30f3\u51e6\u7406\u306e\u8ca0\u8377\u5206\u6563\u304c\u3067\u304d\u308b<\/b><\/li>\n<\/ul>\n<\/div>\n<p>\u3068\u3044\u3063\u305f\u30e1\u30ea\u30c3\u30c8\u304c\u6709\u308a\u307e\u3059\u3002\u5927\u898f\u6a21\u306a\u30b5\u30fc\u30d0\u30fc\u3092\u69cb\u7bc9\u3057\u305f\u3044\u65b9\u306f\u305c\u3072\u4ee5\u4e0b\u306e\u65b9\u6cd5\u3092\u30de\u30b9\u30bf\u30fc\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044!<\/p>\n<h4>\u51e6\u7406\u306e\u6982\u8981<\/h4>\n<p>\u30bb\u30c3\u30b7\u30e7\u30f3\u60c5\u5831\u3092\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3067\u7ba1\u7406\u3059\u308b\u306b\u306f\u3001\u30bb\u30c3\u30b7\u30e7\u30f3ID\u3068\u30bb\u30c3\u30b7\u30e7\u30f3\u30c7\u30fc\u30bf\u3092\u683c\u7d0d\u3059\u308b\u30c6\u30fc\u30d6\u30eb\u3092\u4f5c\u6210\u3057\u3001session_set_save_handler\u95a2\u6570\u306b\u3001SessionHandlerInterface\u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9\u3092\u5b9f\u88c5\u3057\u305f\u30af\u30e9\u30b9\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u6e21\u3057\u307e\u3059\u3002<\/p>\n<p>SessionHandlerInterface\u3092\u5b9f\u88c5\u3059\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u306e6\u3064\u306e\u30e1\u30bd\u30c3\u30c9\u3092\u5b9f\u88c5\u3057\u307e\u3059\u3002<\/p>\n<ol>\n<li>public bool close()<\/li>\n<p>\u30bb\u30c3\u30b7\u30e7\u30f3\u7d42\u4e86\u6642\u306b\u547c\u3073\u51fa\u3055\u308c\u308b\u3002<\/p>\n<li>public bool destroy($\u30bb\u30c3\u30b7\u30e7\u30f3ID)<\/li>\n<p>\u30bb\u30c3\u30b7\u30e7\u30f3\u7834\u68c4\u6642\u306b\u547c\u3073\u51fa\u3055\u308c\u308b\u3002<\/p>\n<li>public bool gc($\u30bb\u30c3\u30b7\u30e7\u30f3\u5b58\u7d9a\u671f\u9593)<\/li>\n<p>\u30bb\u30c3\u30b7\u30e7\u30f3\u304c\u30e1\u30e2\u30ea\u304b\u3089\u524a\u9664\u3055\u308c\u308b\u6642\u306b\u547c\u3073\u51fa\u3055\u308c\u308b\u3002<\/p>\n<li>public bool open($\u30bb\u30c3\u30b7\u30e7\u30f3\u30c7\u30fc\u30bf\u4fdd\u5b58\u30d1\u30b9, $\u30bb\u30c3\u30b7\u30e7\u30f3\u4fdd\u5b58\u540d)<\/li>\n<p>\u30bb\u30c3\u30b7\u30e7\u30f3\u958b\u59cb\u6642\u306b\u547c\u3073\u51fa\u3055\u308c\u308b\u3002<\/p>\n<li>public string read($\u30bb\u30c3\u30b7\u30e7\u30f3ID)<\/li>\n<p>\u30bb\u30c3\u30b7\u30e7\u30f3\u30c7\u30fc\u30bf\u8aad\u307f\u8fbc\u307f\u6642\u306b\u547c\u3073\u51fa\u3055\u308c\u308b\u3002<\/p>\n<li>public bool write($\u30bb\u30c3\u30b7\u30e7\u30f3ID, $\u30bb\u30c3\u30b7\u30e7\u30f3\u30c7\u30fc\u30bf\u3092\u30b7\u30ea\u30a2\u30e9\u30a4\u30ba\u3057\u305f\u6587\u5b57\u5217)<\/li>\n<p>\u30bb\u30c3\u30b7\u30e7\u30f3\u30c7\u30fc\u30bf\u66f8\u304d\u8fbc\u307f\u6642\u306b\u547c\u3073\u51fa\u3055\u308c\u308b\u3002\n<\/ol>\n<h4>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9<\/h4>\n<p>\u4ee5\u4e0b\u306b\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u60c5\u5831\u3092\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3067\u7ba1\u7406\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u3092\u793a\u3057\u307e\u3059\u3002\u307e\u305a\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30c6\u30fc\u30d6\u30eb\u3092\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"decode:true \">CREATE TABLE TBL_SESSION (\r\n    SESSION_ID varchar(50) NOT NULL,\r\n    SESSION_DATA text,\r\n    CREATE_DATE int(10),\r\nPRIMARY KEY (SESSION_ID));<\/pre>\n<p>SESSION_ID\u306b\u306f\u30bb\u30c3\u30b7\u30e7\u30f3ID\u3001SESSION_DATA\u306b\u306f\u30bb\u30c3\u30b7\u30e7\u30f3\u30c7\u30fc\u30bf\u3092\u30b7\u30ea\u30a2\u30e9\u30a4\u30ba\u3057\u305f\u6587\u5b57\u5217\u3001CREATE_DATE\u306b\u306f\u6700\u7d42\u66f4\u65b0\u65e5\u6642\u304c\u5165\u308a\u307e\u3059\u3002\u6b21\u306b\u3001SessionHandlerInterface\u306e\u5b9f\u88c5\u30af\u30e9\u30b9\u3092\u4f5c\u6210\u3057\u3001session_set_save_handler\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"decode:true \">&lt;?php\r\nclass MySessionHandler implements SessionHandlerInterface {\r\n    \/\/ \u30bb\u30c3\u30b7\u30e7\u30f3\u7d42\u4e86\u6642\u306b\u547c\u3073\u51fa\u3055\u308c\u308b\u3002\r\n    function close() {\r\n        return true;\r\n    }\r\n \r\n    \/\/ \u30bb\u30c3\u30b7\u30e7\u30f3\u7834\u68c4\u6642\u306b\u547c\u3073\u51fa\u3055\u308c\u308b\u3002\r\n    function destroy($session_id) {\r\n        $db = get_db();\r\n        if($stmt = $db-&gt;prepare(\"DELETE FROM TBL_SESSION WHERE SESSION_ID = ?\")){\r\n            $stmt-&gt;bind_param(\"s\", $session_id);\r\n            $stmt-&gt;execute();\r\n            $stmt-&gt;close();\r\n            $stmt = null;\r\n        }\r\n        $db-&gt;close();\r\n        $db = null;\r\n        return true;\r\n    }\r\n \r\n    \/\/ \u30bb\u30c3\u30b7\u30e7\u30f3\u304c\u30e1\u30e2\u30ea\u304b\u3089\u524a\u9664\u3055\u308c\u308b\u6642\u306b\u547c\u3073\u51fa\u3055\u308c\u308b\u3002\r\n    function gc($maxlifetime) {\r\n        return true; \r\n    }\r\n \r\n    \/\/ \u30bb\u30c3\u30b7\u30e7\u30f3\u958b\u59cb\u6642\u306b\u547c\u3073\u51fa\u3055\u308c\u308b\u3002\r\n    function open($save_path, $name) {\r\n        return true;\r\n    }\r\n \r\n    \/\/ \u30bb\u30c3\u30b7\u30e7\u30f3\u30c7\u30fc\u30bf\u8aad\u307f\u8fbc\u307f\u6642\u306b\u547c\u3073\u51fa\u3055\u308c\u308b\u3002\r\n    function read($session_id) {\r\n        $session_data = '';\r\n        $db = get_db();\r\n        if($stmt = $db-&gt;prepare(\"SELECT SESSION_DATA FROM TBL_SESSION WHERE SESSION_ID = ?\")){\r\n            $stmt-&gt;bind_param(\"s\", $session_id);\r\n            $stmt-&gt;bind_result($session_data);\r\n            $stmt-&gt;execute();\r\n            $stmt-&gt;fetch();\r\n            $stmt-&gt;close();\r\n            $stmt = null;\r\n        }\r\n        $db-&gt;close();\r\n        $db = null;\r\n \r\n        if(is_null($session_data)) {\r\n            $session_data = '';\r\n        }\r\n        return $session_data;\r\n    }\r\n \r\n    \/\/ \u30bb\u30c3\u30b7\u30e7\u30f3\u30c7\u30fc\u30bf\u66f8\u304d\u8fbc\u307f\u6642\u306b\u547c\u3073\u51fa\u3055\u308c\u308b\u3002\r\n    function write($session_id, $session_data) {\r\n        $affected_rows = 0;\r\n        $create_date = time();\r\n        $db = get_db();\r\n        if($stmt = $db-&gt;prepare(\"INSERT INTO TBL_SESSION (SESSION_ID, SESSION_DATA, CREATE_DATE) VALUES(?, ?, ?) ON DUPLICATE KEY UPDATE SESSION_DATA = ?, CREATE_DATE = ?\")){\r\n            $stmt-&gt;bind_param(\"ssisi\", $session_id, $session_data, $create_date, $session_data, $create_date);\r\n            $stmt-&gt;execute();\r\n            $affected_rows = $stmt-&gt;affected_rows;\r\n            $stmt-&gt;close();\r\n            $stmt = null;\r\n        }\r\n        $db-&gt;close();\r\n        $db = null;\r\n        return $affected_rows ? true : false;\r\n    }\r\n \r\n}\r\n \r\n\/\/ \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u63a5\u7d9a\u3092\u8fd4\u3059\u95a2\u6570\r\nfunction get_db() {\r\n    return new mysqli('localhost:3306', 'user', 'password', 'db_name');\r\n}\r\n \r\n\/\/ MySessionHandler\u3092session_set_save_handler\u306b\u8a2d\u5b9a\r\nsession_set_save_handler(new MySessionHandler(), true);\r\n \r\n\/\/ \u30bb\u30c3\u30b7\u30e7\u30f3\u958b\u59cb\r\nsession_start();\r\n \r\n$_SESSION['data'] = 0;\r\n?&gt;<\/pre>\n<p>\u30bb\u30c3\u30b7\u30e7\u30f3\u30c7\u30fc\u30bf\u66f8\u304d\u8fbc\u307f\u6642\u306b\u547c\u3073\u51fa\u3055\u308c\u308bwrite\u30e1\u30bd\u30c3\u30c9\u3067\u3001\u6307\u5b9a\u3055\u308c\u305f\u30bb\u30c3\u30b7\u30e7\u30f3ID\u306e\u30c7\u30fc\u30bf\u304c\u306a\u3051\u308c\u3070INSERT\u3001\u3042\u308c\u3070UPDATE\u3092\u3057\u307e\u3059\u3002\u30bb\u30c3\u30b7\u30e7\u30f3\u30c7\u30fc\u30bf\u8aad\u307f\u8fbc\u307f\u6642\u306b\u547c\u3073\u51fa\u3055\u308c\u308bread\u30e1\u30bd\u30c3\u30c9\u3067\u3001\u6307\u5b9a\u3055\u308c\u305f\u30bb\u30c3\u30b7\u30e7\u30f3ID\u306e\u30c7\u30fc\u30bf\u3092SELECT\u3057\u3066\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<p>\u30bb\u30c3\u30b7\u30e7\u30f3\u7834\u68c4\u6642\u306b\u547c\u3073\u51fa\u3055\u308c\u308bdestroy\u30e1\u30bd\u30c3\u30c9\u3067\u3001\u6307\u5b9a\u3055\u308c\u305f\u30bb\u30c3\u30b7\u30e7\u30f3ID\u306e\u30c7\u30fc\u30bf\u3092DELETE\u3057\u307e\u3059\u3002\u3053\u306eMySessionHandler\u30af\u30e9\u30b9\u3092\u300csession_set_save_handler(new MySessionHandler(), true);\u300d\u3067session_set_save_handler\u95a2\u6570\u306b\u6e21\u3057\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u5f8c\u3001\u300csession_start();\u300d\u3067\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u958b\u59cb\u3057\u3001\u300c$_SESSION[\u2018data\u2019] = 0;\u300d\u3067\u30bb\u30c3\u30b7\u30e7\u30f3\u306b\u5909\u6570\u3092\u767b\u9332\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001TBL_SESSION\u30c6\u30fc\u30d6\u30eb\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30c7\u30fc\u30bf\u304c\u767b\u9332\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">SESSION_ID:'6vsmicfr6apcgfu8hqmt1ovs3e'\r\nSESSION_DATA:'data|i:0;'\r\nCREATE_DATE:'1497562961'<\/pre>\n<p>\u30bb\u30c3\u30b7\u30e7\u30f3\u60c5\u5831\u3092\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3067\u7ba1\u7406\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002\u306a\u304a\u3001\u4eca\u56de\u306f\u7d19\u5e45\u306e\u95a2\u4fc2\u3067gc\u3092\u5b9a\u7fa9\u3057\u3066\u3044\u307e\u305b\u3093\u3002\u3053\u306e\u95a2\u4fc2\u3067\u3001\u6642\u9593\u7d4c\u904e\u306b\u3088\u308b\u30bb\u30c3\u30b7\u30e7\u30f3\u524a\u9664\u306f\u884c\u308f\u308c\u305a\u3001\u30d6\u30e9\u30a6\u30b6\u3092\u958b\u304d\u76f4\u3059\u305f\u3073\u306b\u30bb\u30c3\u30b7\u30e7\u30f3ID\u304c\u5897\u3048\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p>session_destroy() \u3092\u4f7f\u3046\u3053\u3068\u3067\u53e4\u3044\u30bb\u30c3\u30b7\u30e7\u30f3\u306f\u4e00\u6383\u3067\u304d\u307e\u3059\u306e\u3067\u3001\u6c17\u306b\u306a\u308b\u65b9\u306f\u3053\u3061\u3089\u3092\u5229\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u4eca\u56de\u306f\u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u307e\u3057\u305f\u3002WEB\u30b7\u30b9\u30c6\u30e0\u306b\u304a\u3044\u3066\u3001<b>\u30e6\u30fc\u30b6\u3054\u3068\u306e\u60c5\u5831\u3092\u4fdd\u6301\u3057\u7d9a\u3051\u308b\u3053\u3068\u306e\u3067\u304d\u308b\u30bb\u30c3\u30b7\u30e7\u30f3\u306f\u975e\u5e38\u306b\u91cd\u8981<\/b>\u3067\u3059\u3002\u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u4f7f\u3044\u65b9\u3092\u5fd8\u308c\u3066\u3057\u307e\u3063\u305f\u3089\u3001\u3053\u306e\u8a18\u4e8b\u3092\u601d\u3044\u51fa\u3057\u3066\u4e0b\u3055\u3044\u3002<\/p>\n<p>\u306a\u304a\u3001\u4ed6\u306e\u8a00\u8a9e\u3084\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3082\u540c\u3058\u3088\u3046\u306a\u30bb\u30c3\u30b7\u30e7\u30f3\u7ba1\u7406\u3092\u884c\u3063\u3066\u3044\u307e\u3059\u3002\u8208\u5473\u306e\u3042\u308b\u65b9\u306f\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3082\u53c2\u8003\u306b\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>            <a href=\"https:\/\/www.sejuku.net\/blog\/33677\" class=\"blog-card-anchor\">\n                <div class=\"blog-card\">\n                <div class=\"blog-card-content\">\n                    <div class=\"blog-card-thumbnail\">\n                    <img decoding=\"async\" class=\"blog-card-thumbnail-img\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/09\/image-78-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010Rails\u5165\u9580\u3011session\u306e\u4f7f\u3044\u65b9\u307e\u3068\u3081<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2024\u5e745\u67086\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            <br \/>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/31661\" class=\"blog-card-anchor\">\n                <div class=\"blog-card\">\n                <div class=\"blog-card-content\">\n                    <div class=\"blog-card-thumbnail\">\n                    <img decoding=\"async\" class=\"blog-card-thumbnail-img\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/03\/image10-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010Django\u5165\u9580\u3011session\u306e\u4f7f\u3044\u65b9<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2024\u5e745\u67086\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\uff01\u30d5\u30ea\u30fc\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u305b\u304d\u3067\u3059\u3002 PHP\u306b\u9650\u3089\u305a\u3001Web\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306b\u304a\u3044\u3066\u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u6982\u5ff5\u306f\u907f\u3051\u3066\u306f\u901a\u308c\u307e\u305b\u3093\u3002\u30e6\u30fc\u30b6\u30fc\u304c\u30ed\u30b0\u30a4\u30f3\u30fb\u30ed\u30b0\u30a2\u30a6\u30c8\u3059\u308b\u3088\u3046\u306a\u30b7\u30b9\u30c6\u30e0\u304c\u51fa\u6765\u308b\u306e\u306f\u5b9f\u306f\u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u304a\u304b\u3052\u306a\u306e\u3067\u3059\u3002 \u3053 [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":37081,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"swell_btn_cv_data":"","footnotes":""},"categories":[2348],"tags":[38],"class_list":["post-25276","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-php-study","tag-php"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u3010PHP\u5165\u9580\u3011\u5fb9\u5e95\u89e3\u8aac\uff01PHP\u3067\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u4f7f\u3046\u65b9\u6cd5\uff5e\u57fa\u672c\u304b\u3089\u5fdc\u7528\u307e\u3067 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0<\/title>\n<meta name=\"description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010PHP\u5165\u9580\u3011\u5fb9\u5e95\u89e3\u8aac\uff01PHP\u3067\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u4f7f\u3046\u65b9\u6cd5\uff5e\u57fa\u672c\u304b\u3089\u5fdc\u7528\u307e\u3067 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.sejuku.net\/blog\/25276\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010PHP\u5165\u9580\u3011\u5fb9\u5e95\u89e3\u8aac\uff01PHP\u3067\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u4f7f\u3046\u65b9\u6cd5\uff5e\u57fa\u672c\u304b\u3089\u5fdc\u7528\u307e\u3067 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\" \/>\n<meta property=\"og:description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010PHP\u5165\u9580\u3011\u5fb9\u5e95\u89e3\u8aac\uff01PHP\u3067\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u4f7f\u3046\u65b9\u6cd5\uff5e\u57fa\u672c\u304b\u3089\u5fdc\u7528\u307e\u3067 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sejuku.net\/blog\/25276\" \/>\n<meta property=\"og:site_name\" content=\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/sejuku2013\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/sejuku2013\/\" \/>\n<meta property=\"article:published_time\" content=\"2017-06-16T09:34:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-06T02:43:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/06\/image-52.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"700\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/samuraijuku\" \/>\n<meta name=\"twitter:site\" content=\"@samuraijuku\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/25276#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/25276\"},\"author\":{\"name\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/person\\\/e8ca7fd09857a736a25e6b4455a3ab61\"},\"headline\":\"\u3010PHP\u5165\u9580\u3011\u5fb9\u5e95\u89e3\u8aac\uff01PHP\u3067\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u4f7f\u3046\u65b9\u6cd5\uff5e\u57fa\u672c\u304b\u3089\u5fdc\u7528\u307e\u3067\",\"datePublished\":\"2017-06-16T09:34:13+00:00\",\"dateModified\":\"2024-05-06T02:43:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/25276\"},\"wordCount\":253,\"publisher\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/25276#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/06\\\/image-52.jpg\",\"keywords\":[\"PHP\"],\"articleSection\":[\"PHP\u5b66\u7fd2\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/25276\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/25276\",\"name\":\"\u3010PHP\u5165\u9580\u3011\u5fb9\u5e95\u89e3\u8aac\uff01PHP\u3067\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u4f7f\u3046\u65b9\u6cd5\uff5e\u57fa\u672c\u304b\u3089\u5fdc\u7528\u307e\u3067 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/25276#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/25276#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/06\\\/image-52.jpg\",\"datePublished\":\"2017-06-16T09:34:13+00:00\",\"dateModified\":\"2024-05-06T02:43:18+00:00\",\"description\":\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010PHP\u5165\u9580\u3011\u5fb9\u5e95\u89e3\u8aac\uff01PHP\u3067\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u4f7f\u3046\u65b9\u6cd5\uff5e\u57fa\u672c\u304b\u3089\u5fdc\u7528\u307e\u3067 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/25276#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/25276\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/25276#primaryimage\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/06\\\/image-52.jpg\",\"contentUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/06\\\/image-52.jpg\",\"width\":700,\"height\":400},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/25276#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010PHP\u5165\u9580\u3011\u5fb9\u5e95\u89e3\u8aac\uff01PHP\u3067\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u4f7f\u3046\u65b9\u6cd5\uff5e\u57fa\u672c\u304b\u3089\u5fdc\u7528\u307e\u3067\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\",\"name\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\",\"description\":\"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u306e\u3059\u3079\u3066\u304c\u30b3\u30b3\u306b\u3002\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\",\"name\":\"\u682a\u5f0f\u4f1a\u793eSAMURAI\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo.png\",\"width\":600,\"height\":600,\"caption\":\"\u682a\u5f0f\u4f1a\u793eSAMURAI\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/sejuku2013\",\"https:\\\/\\\/x.com\\\/samuraijuku\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCCFOQO5aDK0xXam4cUQXT8g\\\/featured\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/person\\\/e8ca7fd09857a736a25e6b4455a3ab61\",\"name\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g\",\"caption\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\"},\"description\":\"\u3010\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3011 DX\u8a8d\u5b9a\u53d6\u5f97\u4e8b\u696d\u8005\u306b\u9078\u5b9a\u3055\u308c\u3066\u3044\u308b\u682a\u5f0f\u4f1a\u793eSAMURAI\u306e\u30de\u30fc\u30b1\u30c6\u30a3\u30f3\u30b0\u30fb\u30b3\u30df\u30e5\u30cb\u30b1\u30fc\u30b7\u30e7\u30f3\u90e8\u304c\u904b\u55b6\u3002\u300c\u8cea\u306e\u9ad8\u3044IT\u6559\u80b2\u3092\u3001\u3059\u3079\u3066\u306e\u4eba\u306b\u300d\u3092\u30df\u30c3\u30b7\u30e7\u30f3\u306b\u3001IT\u30fb\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u5b66\u3073\u59cb\u3081\u305f\u521d\u5b66\u8005\u306e\u65b9\u306b\u5411\u3051\u8a18\u4e8b\u3092\u57f7\u7b46\u3002 \u7d2f\u8a08\u6307\u5c0e\u8005\u65704\u4e075,000\u540d\u4ee5\u4e0a\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u300c\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u300d\u3001\u7d2f\u8a08\u767b\u9332\u8005\u65701\u4e078,000\u4eba\u4ee5\u4e0a\u306e\u30aa\u30f3\u30e9\u30a4\u30f3\u5b66\u7fd2\u30b5\u30fc\u30d3\u30b9\u300c\u4f8d\u30c6\u30e9\u30b3\u30e4\u300d\u3067\u6271\u3046\u6559\u6750\u958b\u767a\u306e\u30ce\u30a6\u30cf\u30a6\u30012013\u5e74\u306e\u5275\u696d\u304b\u3089\u904b\u55b6\u3067\u5f97\u305f\u77e5\u898b\u306b\u57fa\u3065\u304d\u3001\u8a18\u4e8b\u306e\u57f7\u7b46\u3060\u3051\u3067\u306a\u304f\u7de8\u96c6\u30fb\u76e3\u4fee\u3082\u62c5\u5f53\u3057\u3066\u3044\u307e\u3059\u3002 \u3010\u5c02\u9580\u5206\u91ce\u3011 IT\\\/Web\u958b\u767a\\\/AI\u30fb\u30ed\u30dc\u30c3\u30c8\u958b\u767a\\\/\u30a4\u30f3\u30d5\u30e9\u958b\u767a\\\/\u30b2\u30fc\u30e0\u958b\u767a\\\/AI\\\/Web\u30c7\u30b6\u30a4\u30f3\",\"sameAs\":[\"https:\\\/\\\/www.sejuku.net\\\/\",\"https:\\\/\\\/www.facebook.com\\\/sejuku2013\\\/\",\"https:\\\/\\\/www.instagram.com\\\/samuraiengineer_official\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/samuraijuku\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCCFOQO5aDK0xXam4cUQXT8g\"],\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/author\\\/samurai-blog\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u3010PHP\u5165\u9580\u3011\u5fb9\u5e95\u89e3\u8aac\uff01PHP\u3067\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u4f7f\u3046\u65b9\u6cd5\uff5e\u57fa\u672c\u304b\u3089\u5fdc\u7528\u307e\u3067 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010PHP\u5165\u9580\u3011\u5fb9\u5e95\u89e3\u8aac\uff01PHP\u3067\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u4f7f\u3046\u65b9\u6cd5\uff5e\u57fa\u672c\u304b\u3089\u5fdc\u7528\u307e\u3067 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.sejuku.net\/blog\/25276","og_locale":"ja_JP","og_type":"article","og_title":"\u3010PHP\u5165\u9580\u3011\u5fb9\u5e95\u89e3\u8aac\uff01PHP\u3067\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u4f7f\u3046\u65b9\u6cd5\uff5e\u57fa\u672c\u304b\u3089\u5fdc\u7528\u307e\u3067 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","og_description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010PHP\u5165\u9580\u3011\u5fb9\u5e95\u89e3\u8aac\uff01PHP\u3067\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u4f7f\u3046\u65b9\u6cd5\uff5e\u57fa\u672c\u304b\u3089\u5fdc\u7528\u307e\u3067 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","og_url":"https:\/\/www.sejuku.net\/blog\/25276","og_site_name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","article_publisher":"https:\/\/www.facebook.com\/sejuku2013","article_author":"https:\/\/www.facebook.com\/sejuku2013\/","article_published_time":"2017-06-16T09:34:13+00:00","article_modified_time":"2024-05-06T02:43:18+00:00","og_image":[{"width":700,"height":400,"url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/06\/image-52.jpg","type":"image\/jpeg"}],"author":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/samuraijuku","twitter_site":"@samuraijuku","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.sejuku.net\/blog\/25276#article","isPartOf":{"@id":"https:\/\/www.sejuku.net\/blog\/25276"},"author":{"name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/person\/e8ca7fd09857a736a25e6b4455a3ab61"},"headline":"\u3010PHP\u5165\u9580\u3011\u5fb9\u5e95\u89e3\u8aac\uff01PHP\u3067\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u4f7f\u3046\u65b9\u6cd5\uff5e\u57fa\u672c\u304b\u3089\u5fdc\u7528\u307e\u3067","datePublished":"2017-06-16T09:34:13+00:00","dateModified":"2024-05-06T02:43:18+00:00","mainEntityOfPage":{"@id":"https:\/\/www.sejuku.net\/blog\/25276"},"wordCount":253,"publisher":{"@id":"https:\/\/www.sejuku.net\/blog\/#organization"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/25276#primaryimage"},"thumbnailUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/06\/image-52.jpg","keywords":["PHP"],"articleSection":["PHP\u5b66\u7fd2"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.sejuku.net\/blog\/25276","url":"https:\/\/www.sejuku.net\/blog\/25276","name":"\u3010PHP\u5165\u9580\u3011\u5fb9\u5e95\u89e3\u8aac\uff01PHP\u3067\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u4f7f\u3046\u65b9\u6cd5\uff5e\u57fa\u672c\u304b\u3089\u5fdc\u7528\u307e\u3067 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","isPartOf":{"@id":"https:\/\/www.sejuku.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.sejuku.net\/blog\/25276#primaryimage"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/25276#primaryimage"},"thumbnailUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/06\/image-52.jpg","datePublished":"2017-06-16T09:34:13+00:00","dateModified":"2024-05-06T02:43:18+00:00","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010PHP\u5165\u9580\u3011\u5fb9\u5e95\u89e3\u8aac\uff01PHP\u3067\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u4f7f\u3046\u65b9\u6cd5\uff5e\u57fa\u672c\u304b\u3089\u5fdc\u7528\u307e\u3067 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","breadcrumb":{"@id":"https:\/\/www.sejuku.net\/blog\/25276#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sejuku.net\/blog\/25276"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.sejuku.net\/blog\/25276#primaryimage","url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/06\/image-52.jpg","contentUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/06\/image-52.jpg","width":700,"height":400},{"@type":"BreadcrumbList","@id":"https:\/\/www.sejuku.net\/blog\/25276#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sejuku.net\/blog\/"},{"@type":"ListItem","position":2,"name":"\u3010PHP\u5165\u9580\u3011\u5fb9\u5e95\u89e3\u8aac\uff01PHP\u3067\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u4f7f\u3046\u65b9\u6cd5\uff5e\u57fa\u672c\u304b\u3089\u5fdc\u7528\u307e\u3067"}]},{"@type":"WebSite","@id":"https:\/\/www.sejuku.net\/blog\/#website","url":"https:\/\/www.sejuku.net\/blog\/","name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","description":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u306e\u3059\u3079\u3066\u304c\u30b3\u30b3\u306b\u3002","publisher":{"@id":"https:\/\/www.sejuku.net\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.sejuku.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/www.sejuku.net\/blog\/#organization","name":"\u682a\u5f0f\u4f1a\u793eSAMURAI","url":"https:\/\/www.sejuku.net\/blog\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2023\/07\/logo.png","contentUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2023\/07\/logo.png","width":600,"height":600,"caption":"\u682a\u5f0f\u4f1a\u793eSAMURAI"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/sejuku2013","https:\/\/x.com\/samuraijuku","https:\/\/www.youtube.com\/channel\/UCCFOQO5aDK0xXam4cUQXT8g\/featured"]},{"@type":"Person","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/person\/e8ca7fd09857a736a25e6b4455a3ab61","name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g","caption":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8"},"description":"\u3010\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3011 DX\u8a8d\u5b9a\u53d6\u5f97\u4e8b\u696d\u8005\u306b\u9078\u5b9a\u3055\u308c\u3066\u3044\u308b\u682a\u5f0f\u4f1a\u793eSAMURAI\u306e\u30de\u30fc\u30b1\u30c6\u30a3\u30f3\u30b0\u30fb\u30b3\u30df\u30e5\u30cb\u30b1\u30fc\u30b7\u30e7\u30f3\u90e8\u304c\u904b\u55b6\u3002\u300c\u8cea\u306e\u9ad8\u3044IT\u6559\u80b2\u3092\u3001\u3059\u3079\u3066\u306e\u4eba\u306b\u300d\u3092\u30df\u30c3\u30b7\u30e7\u30f3\u306b\u3001IT\u30fb\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u5b66\u3073\u59cb\u3081\u305f\u521d\u5b66\u8005\u306e\u65b9\u306b\u5411\u3051\u8a18\u4e8b\u3092\u57f7\u7b46\u3002 \u7d2f\u8a08\u6307\u5c0e\u8005\u65704\u4e075,000\u540d\u4ee5\u4e0a\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u300c\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u300d\u3001\u7d2f\u8a08\u767b\u9332\u8005\u65701\u4e078,000\u4eba\u4ee5\u4e0a\u306e\u30aa\u30f3\u30e9\u30a4\u30f3\u5b66\u7fd2\u30b5\u30fc\u30d3\u30b9\u300c\u4f8d\u30c6\u30e9\u30b3\u30e4\u300d\u3067\u6271\u3046\u6559\u6750\u958b\u767a\u306e\u30ce\u30a6\u30cf\u30a6\u30012013\u5e74\u306e\u5275\u696d\u304b\u3089\u904b\u55b6\u3067\u5f97\u305f\u77e5\u898b\u306b\u57fa\u3065\u304d\u3001\u8a18\u4e8b\u306e\u57f7\u7b46\u3060\u3051\u3067\u306a\u304f\u7de8\u96c6\u30fb\u76e3\u4fee\u3082\u62c5\u5f53\u3057\u3066\u3044\u307e\u3059\u3002 \u3010\u5c02\u9580\u5206\u91ce\u3011 IT\/Web\u958b\u767a\/AI\u30fb\u30ed\u30dc\u30c3\u30c8\u958b\u767a\/\u30a4\u30f3\u30d5\u30e9\u958b\u767a\/\u30b2\u30fc\u30e0\u958b\u767a\/AI\/Web\u30c7\u30b6\u30a4\u30f3","sameAs":["https:\/\/www.sejuku.net\/","https:\/\/www.facebook.com\/sejuku2013\/","https:\/\/www.instagram.com\/samuraiengineer_official\/","https:\/\/x.com\/https:\/\/twitter.com\/samuraijuku","https:\/\/www.youtube.com\/channel\/UCCFOQO5aDK0xXam4cUQXT8g"],"url":"https:\/\/www.sejuku.net\/blog\/author\/samurai-blog"}]}},"_links":{"self":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts\/25276","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/comments?post=25276"}],"version-history":[{"count":0,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts\/25276\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/media\/37081"}],"wp:attachment":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/media?parent=25276"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/categories?post=25276"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/tags?post=25276"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}