{"id":1084,"date":"2017-06-08T19:00:34","date_gmt":"2017-06-08T10:00:34","guid":{"rendered":"http:\/\/www.applabo.co.jp\/endo-blog\/?p=1084"},"modified":"2017-10-25T17:07:33","modified_gmt":"2017-10-25T08:07:33","slug":"ec-cube%e3%81%ae%e3%83%97%e3%83%a9%e3%82%b0%e3%82%a4%e3%83%b3%e3%81%ae%e3%83%90%e3%82%b0%e8%a6%8b%e3%81%a4%e3%81%91%e3%81%9f%e3%80%82%e3%81%8b%e3%81%aa%e3%82%8a%e3%82%84%e3%81%b0%e3%81%84%e7%b3%bb-2","status":"publish","type":"post","link":"https:\/\/www.applabo.co.jp\/endo-blog\/?p=1084","title":{"rendered":"EC-Cube\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u30d0\u30b0\u898b\u3064\u3051\u305f\u3002\u304b\u306a\u308a\u3084\u3070\u3044\u7cfb\u3002\uff08\u66f4\u65b0\u7de8\uff09"},"content":{"rendered":"<p>\u4ee5\u524d\u3001<span style=\"font-size: 14pt;\"><a href=\"http:\/\/www.applabo.co.jp\/endo-blog\/?p=1037\">EC-Cube\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3067SMBC\u306e\u30ab\u30fc\u30c9\u6c7a\u6e08\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u8abf\u67fb\u3057\u3066\u30d0\u30b0\u3092\u898b\u3064\u3051\u305f<\/a><\/span>\u308f\u3051\u3067\u3059\u304c\u3001\u672c\u65e5\u3001\u65b0\u3057\u3044\u30e2\u30b8\u30e5\u30fc\u30eb\u306b\u300c\u3057\u308c\u3063\u300d\u3068\u5909\u66f4\u3055\u308c\u305f\u3088\u3046\u3067\u3059\u3002IPA\u306b\u5831\u544a\u3057\u307e\u3057\u305f\u304b\u3089\u306d\u3002\u4f55\u304b\u6c17\u3065\u3044\u305f\u306e\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u4e00\u77ac\uff08\u6570\u65e5\u9593\uff09\u975e\u516c\u958b\u306b\u306a\u3063\u3066\u3044\u305f\u3053\u3068\u304b\u3089\u3001\u8272\u3005\u9811\u5f35\u3063\u305f\u3093\u3067\u3057\u3087\u3046\uff08\u7b11\uff09<\/p>\n<p>\u3067\u3001\u305d\u306e\u6539\u4fee\u304c\u3001\u307e\u305f\u3001\u304a\u305d\u677e\u304f\u3093\u3068\u3044\u3046\u304b\u30fb\u30fb\u30fb\uff08\u7b11\uff09<\/p>\n<p>\u4ee5\u524d\u306e\u30b3\u30fc\u30c9\u306f\u3053\u3093\u306a\u611f\u3058\u3002<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n\/\/ \u30d1\u30b9\u30ef\u30fc\u30c9\u7b49\u3092\u30de\u30b9\u30af\u3059\u308b\r\nif (!$raw &amp;amp;amp;&amp;amp;amp; is_array($msg)) {\r\n    $keys = array('card_no', 'security_cd');\r\n    foreach ($keys as $key) {\r\n        if (isset($msg&#x5B;$key]) &amp;&amp; !is_array($msg&#x5B;$key])) {\r\n            $msg&#x5B;$key] = str_pad('', strlen($msg&#x5B;$key]), '*');\r\n        }\r\n    }\r\n    $msg = print_r($msg, true);\r\n }\r\n<\/pre>\n<p>\u4eca\u5ea6\u306e\u30b3\u30fc\u30c9\u306f\u3053\u3093\u306a\u611f\u3058\u3002<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n\/\/ \u30d1\u30b9\u30ef\u30fc\u30c9\u7b49\u3092\u30de\u30b9\u30af\u3059\u308b\r\nif (!$raw &amp;amp;amp;&amp;amp;amp; is_array($msg)) {\r\n    $keys = array('card_no', 'security_cd');\r\n    foreach ($keys as $key) {\r\n        if (isset($msg&#x5B;$key]) &amp;&amp; !is_array($msg&#x5B;$key])) {\r\n            $msg&#x5B;$key] = str_pad('', strlen($msg&#x5B;$key]), '*');\r\n        } elseif (isset($msg&#x5B;$key]&#x5B;'value'])) {\r\n            $msg&#x5B;$key]&#x5B;'value'] = str_pad('', strlen($msg&#x5B;$key]&#x5B;'value']), '*');\r\n        }\r\n    }\r\n    $msg = print_r($msg, true);\r\n }\r\n<\/pre>\n<p>\u4ee5\u524d\u306f\u3001<br \/>\n\u30fbcard_no \u3063\u3066\u5909\u6570\u898b\u3064\u3051\u305f\u3089\u3001\u914d\u5217\u3058\u3083\u306a\u3051\u308c\u3070\u300c*\u300d\u306b\u7f6e\u304d\u63db\u3048\u308b\u3088\u3063\uff01<br \/>\n\u3063\u3066\u30b3\u30fc\u30c9\u3067\u3057\u305f\u304c\u3001\u4eca\u5ea6\u306f\u3001<br \/>\n\u30fbcard_no\u3063\u3066\u5909\u6570\u306evalue\u3063\u3066\u914d\u5217\u5909\u6570\u3060\u3063\u305f\u3089\u300c*\u300d\u306b\u7f6e\u304d\u63db\u3048\u308b\u3088\u3063\uff01<br \/>\n\u3063\u3066\u306e\u304c\u8ffd\u52a0\u3055\u308c\u3066\u307e\u3057\u305f\u3002<\/p>\n<p>\u3044\u3084\u3044\u3084\u3001\u30de\u30b8\u304b\u3088\u3002\u3044\u3044\u306e\u304b\u3088\u30fb\u30fb\u30fb\u30fb\uff08\u7b11\uff09<br \/>\n\u7406\u5c48\u306f\u308f\u304b\u308b\u3051\u3069\u3001\u305d\u306e\u524d\u306e\u5206\u5c90\u6761\u4ef6\u304c\u602a\u3057\u3044\u3002<br \/>\n\u3053\u306e\u8fba\u306e\u8a00\u8a9e\u4ed5\u69d8\u306fphp\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u3088\u3063\u3066\u3082\u52d5\u304d\u304c\u69d8\u3005\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u306d\u3002<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n} elseif (isset($msg&#x5B;$key]&#x5B;'value'])) {\r\n<\/pre>\n<p>\u3053\u308c\u306f\u3001\u3084\u3070\u304f\u306a\u3044\u3063\u3059\u304b\uff08\u7b11\uff09<\/p>\n<p>\u3044\u3084\u3001\u3084\u308a\u305f\u3044\u3053\u3068\u308f\u304b\u308b\u3051\u3069\u3055\u3002\u3002\u3002\u3002\u3002<\/p>\n<p>\u3082\u3057\u3001$key\u304c\u3042\u305a\u304b\u308a\u77e5\u3089\u3093\u540d\u524d\u3060\u3063\u305f\u3089\u3069\u3046\u3059\u3093\u306e\u3088\u3002php\u304c\u826f\u304d\u306b\u8a08\u3089\u3063\u3066\u304f\u308c\u308b\u53ef\u80fd\u6027\u3082\u3042\u308b\u3051\u3069\u3001\u666e\u901a\u8003\u3048\u305f\u3089\u3001<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n} elseif (isset(null&#x5B;'value'])) {\r\n<\/pre>\n<p>\u3063\u3066\u53ef\u80fd\u6027\u3082\u3042\u308b\u308f\u3051\u3067\u3057\u3087\uff1f<br \/>\n\u3061\u3083\u3093\u3068\u3057\u305f\u30d7\u30ed\u30b0\u30e9\u30de\u306a\u3089\u3001\u3053\u3093\u306a\u66f8\u304d\u65b9\u306f\u3001\u8a00\u8a9e\u4ed5\u69d8\u306e\u5909\u66f4\u7b49\u3067\u6016\u3044\u304b\u3089\u3084\u3089\u306a\u3044\u6c17\u304c\u3059\u308b\u3093\u3088\u306d\u30fb\u30fb\u30fb<\/p>\n<p>\u3069\u3046\u305b\u3084\u308b\u306a\u3089\u3001\u591a\u6b21\u5143\u914d\u5217\u3092\u518d\u5e30\u7684\u306barray_key_exists\u3092\u4f7f\u3063\u3066\u30c1\u30a7\u30c3\u30af\u3059\u308b\u95a2\u6570\u4f5c\u308b\u3079\u304d\u3060\u3068\u601d\u3046\u3093\u3060\u3088\u306d\u30fb\u30fb\u30fb<br \/>\n\u30b7\u30ed\u30fc\u30c8\u304b\u3088\uff08\u7b11\uff09<\/p>\n<p>\u307e\u3041\u3001\u305d\u308c\u3088\u308a\u6c17\u306b\u306a\u308b\u306e\u306f\u3001\u4eca\u307e\u3067\u84c4\u7a4d\u3057\u3066\u305f\u3001\u30ab\u30fc\u30c9\u60c5\u5831\u3092\u3069\u3046\u3059\u308b\u3093\u3067\u3059\u304b\u306d\u3002\u3002\u3002<br \/>\n\u4f7f\u3063\u3066\u308b\u696d\u8005\u5168\u54e1\u306b\u9023\u7d61\u5165\u308c\u308b\u3093\u3059\u304b\u306d\u30fb\u30fb\u30fb\uff1f<br \/>\n\u5165\u308c\u306a\u3051\u308c\u3070\u3001\u3053\u308c\u3001\u307e\u305a\u3044\u3063\u3059\u3088\u3002\u304d\u3063\u3068\u3002\u3002\u3002\u3002\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4ee5\u524d\u3001EC-Cube\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3067SMBC\u306e\u30ab\u30fc\u30c9\u6c7a\u6e08\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u8abf\u67fb\u3057\u3066\u30d0\u30b0\u3092\u898b\u3064\u3051\u305f\u308f\u3051\u3067\u3059\u304c\u3001\u672c\u65e5\u3001\u65b0\u3057\u3044\u30e2\u30b8\u30e5\u30fc\u30eb\u306b\u300c\u3057\u308c\u3063\u300d\u3068\u5909\u66f4\u3055\u308c\u305f\u3088\u3046\u3067\u3059\u3002IPA\u306b\u5831\u544a\u3057\u307e\u3057\u305f\u304b\u3089\u306d\u3002\u4f55\u304b\u6c17\u3065\u3044\u305f\u306e\u3067\u3057\u3087\u3046\u3002 \u4e00\u77ac\uff08\u6570\u65e5 &#8230; <\/p>\n<p class=\"moree\"><a class=\"more\" href=\"https:\/\/www.applabo.co.jp\/endo-blog\/?p=1084\">\u7d9a\u304d\u3092\u8aad\u3080 <i class=\"fa fa-arrow-circle-right\"><\/i><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[11,3,1],"tags":[],"class_list":["post-1084","post","type-post","status-publish","format-standard","hentry","category-ec-cube","category-uneoae","category-ieia"],"_links":{"self":[{"href":"https:\/\/www.applabo.co.jp\/endo-blog\/index.php?rest_route=\/wp\/v2\/posts\/1084","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.applabo.co.jp\/endo-blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.applabo.co.jp\/endo-blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.applabo.co.jp\/endo-blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.applabo.co.jp\/endo-blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1084"}],"version-history":[{"count":10,"href":"https:\/\/www.applabo.co.jp\/endo-blog\/index.php?rest_route=\/wp\/v2\/posts\/1084\/revisions"}],"predecessor-version":[{"id":1101,"href":"https:\/\/www.applabo.co.jp\/endo-blog\/index.php?rest_route=\/wp\/v2\/posts\/1084\/revisions\/1101"}],"wp:attachment":[{"href":"https:\/\/www.applabo.co.jp\/endo-blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1084"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.applabo.co.jp\/endo-blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1084"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.applabo.co.jp\/endo-blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1084"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}