{"id":72,"date":"2006-02-03T11:22:00","date_gmt":"2006-02-03T02:22:00","guid":{"rendered":"http:\/\/yokensaka.com\/blog\/?p=72"},"modified":"2006-02-03T11:22:00","modified_gmt":"2006-02-03T02:22:00","slug":"%e8%8d%92%e3%82%89%e3%81%97%e5%af%be%e7%ad%96","status":"publish","type":"post","link":"https:\/\/yokensaka.com\/blog\/%e8%8d%92%e3%82%89%e3%81%97%e5%af%be%e7%ad%96\/","title":{"rendered":"\u8352\u3089\u3057\u5bfe\u7b56"},"content":{"rendered":"<p>\u672c\u5bb6\u30b5\u30a4\u30c8\u306e\u300c<a href=\"http:\/\/yokensaka.com\/bbs\/index.html\">\u3088\u3051\u3093\u3055\u304b\u306e\u63b2\u793a\u677f<\/a>\u300d\u306b\u306f\u300c<a href=\"http:\/\/www2s.biglobe.ne.jp\/~cru\/library\/lq\/index.html\">LQ\u30a2\u30af\u30bb\u30b9\u5236\u9650\u30e9\u30a4\u30d6\u30e9\u30ea<\/a>\u300d\u3068\u300c<a href=\"http:\/\/mikeneko.creator.club.ne.jp\/~lab\/web\/htaccess\/\">.htaccess<\/a>\u300d\u3067\u30a2\u30af\u30bb\u30b9\u5236\u9650\u3092\u304b\u3051\u3066\u307e\u3059\u304c\u3001\u6700\u8fd1\u306e\u63b2\u793a\u677f\u8352\u3089\u3057\u306fIP\u3092\u5909\u3048\u3066\u81ea\u52d5\u7684\u306b\u66f8\u304d\u8fbc\u307f\u3092\u7e70\u308a\u8fd4\u3059\u30bd\u30d5\u30c8\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u305d\u306e\u90fd\u5ea6\u30a2\u30af\u30bb\u30b9\u62d2\u5426\u306e\u8a2d\u5b9a\u3092\u3059\u308b\u306e\u306f\u7d50\u69cb\u9762\u5012\u306a\u3082\u306e\u3067\u3059\u3002\u3082\u3063\u3068\u3082\u52b9\u679c\u7684\u3067\u7c21\u5358\u306a\u65b9\u6cd5\u306f\u63b2\u793a\u677f\u306eURL\u306e\u5909\u66f4\u306a\u306e\u3067\u3059\u304c\u3001URL\u3092\u5909\u66f4\u3059\u308b\u3068\u63b2\u793a\u677f\u306b\u76f4\u30ea\u30f3\u30af\u3055\u308c\u3066\u308b\u65b9\u304c\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u304f\u306a\u308b\u3068\u601d\u3044\u3001\u4eca\u307e\u3067URL\u306e\u5909\u66f4\u306f\u3057\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u3067\u3082\u3001\u3042\u307e\u308a\u306b\u3082\u5909\u306a\u66f8\u304d\u8fbc\u307f\u304c\u591a\u3044\u306e\u3067\u5404\u63b2\u793a\u677f\u306eURL\u306e\u5909\u66f4\u3092\u3057\u3066\u3042\u308a\u307e\u3059\u3002\u5404\u63b2\u793a\u677f\u3078\u76f4\u63a5\u304a\u8d8a\u3057\u306e\u65b9\u306f\u3001\u300c\u304a\u6c17\u306b\u5165\u308a\u300d\u306e\u30ea\u30f3\u30af\u5148\u3092\u5909\u66f4\u3057\u3066\u4e0b\u3055\u3044\u3002\u3088\u308d\u3057\u304f\u304a\u9858\u3044\u3057\u307e\u3059\u3002<br \/>\nURL\u5909\u66f4\u306b\u4f34\u3044\u3001\u8352\u3089\u3057\u5bfe\u7b56\u3068\u3057\u3066\u4ee5\u4e0b\u306e\u6295\u7a3f\u306f\u30a2\u30af\u30bb\u30b9\u7981\u6b62\u3068\u306a\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u3066\u3042\u308a\u307e\u3059\u306e\u3067\u5b9c\u3057\u304f\u304a\u9858\u3044\u3057\u307e\u3059\u3002<br \/>\n\u2460 \u53c2\u7167\u5148\u306eURL\u3068\u540c\u4e00URL\u304c\u30b3\u30e1\u30f3\u30c8\u4e2d\u306b\u542b\u307e\u308c\u3066\u3044\u308b\u3002<br \/>\n\u2461 \u30b3\u30e1\u30f3\u30c8\u4e2d\u306b\u65e5\u672c\u8a9e\u304c\u542b\u307e\u308c\u3066\u3044\u306a\u3044\u3002<br \/>\n\u2462 \u30b3\u30e1\u30f3\u30c8\u4e2d\u306eURL\u304c4\u500b\u3092\u8d8a\u3048\u3066\u3044\u308b\u3002<br \/>\n\u8a2d\u5b9a\u65b9\u6cd5\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u3088\u308a\u591a\u5c11\u9055\u3046\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001<br \/>\n\u300c# \u30d5\u30a9\u30fc\u30e0\u5165\u529b\u30c1\u30a7\u30c3\u30af\u300d\u306e\u6240\u306b\u300c#\u25bc\u3053\u3053\u304b\u3089\u25bc\u300d\u304b\u3089\u300c#\u25b2\u3053\u3053\u307e\u3067\u8ffd\u52a0\u25b2\u300d\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<br \/>\n<span style=\"font-size: 10pt; color: #FF6600; font-weight:bold;\">\u25a0 joyful\/joyful.cgi<\/span><\/p>\n<pre>\nsub regist {\nlocal($top,$ango,$f,$match,$tail,$W,$H,@lines,@new,@tmp);\n# \u30d5\u30a9\u30fc\u30e0\u5165\u529b\u30c1\u30a7\u30c3\u30af\n&amp;form_check;\n#\u25bc\u3053\u3053\u304b\u3089\u25bc\n$c = $in{'comment'};\nif ($in{'url'} &amp;&amp; $c =~ \/\\Q$in{'url'}\\E\/i) { &amp;error(\"\u53c2\u7167\u5148\u306eURL\u3068\u540c\u4e00URL\u304c\u30b3\u30e1\u30f3\u30c8\u4e2d\u306b\u542b\u307e\u308c\u3066\u3044\u307e\u3059\"); }\nif ($c !~ \/[\\x80-\\xff]\/) { &amp;error(\"\u30b3\u30e1\u30f3\u30c8\u4e2d\u306b\u65e5\u672c\u8a9e\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u305b\u3093\"); }\n$urlnum = ($c =~ s\/http\/http\/g);\nif ($urlnum &gt; 3) { &amp;error(\"\u30b3\u30e1\u30f3\u30c8\u4e2d\u306eURL\u304c4\u500b\u3092\u8d8a\u3048\u3066\u3044\u307e\u3059\"); }\n#\u25b2\u3053\u3053\u307e\u3067\u8ffd\u52a0\u25b2\n# \u7981\u6b62\u30ef\u30fc\u30c9\u30c1\u30a7\u30c3\u30af\nif ($deny_word) {\n&amp;deny_word($in{'name'});\n&amp;deny_word($in{'comment'});\n}<\/pre>\n<p><span style=\"font-size: 10pt; color: #FF6600; font-weight:bold;\">\u25a0 clip\/clip.cgi<\/span><\/p>\n<pre>\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u30fb\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u30fb\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u30fb\n# \u30d5\u30a9\u30fc\u30e0\u5185\u5bb9\u3092\u30c1\u30a7\u30c3\u30af\nif (!$PostMode &amp;&amp; $in{'name'} eq \"\") { &amp;error(\"\u540d\u524d\u304c\u5165\u529b\u3055\u308c\u3066\u3044\u307e\u305b\u3093\"); }\nif ($in{'comment'} eq \"\") { &amp;error(\"\u30b3\u30e1\u30f3\u30c8\u304c\u5165\u529b\u3055\u308c\u3066\u3044\u307e\u305b\u3093\"); }\nif ($in{'email'} &amp;&amp; $in{'email'} !~ \/^[\\w\\.\\-]+\\@[\\w\\.\\-]+\\.[a-zA-Z]{2,6}$\/) {\n&amp;error(\"\uff25\u30e1\u30fc\u30eb\u306e\u5165\u529b\u5185\u5bb9\u304c\u4e0d\u6b63\u3067\u3059<br>\");\n}\n#\u25bc\u3053\u3053\u304b\u3089\u25bc\n$c = $in{'comment'};\nif ($in{'url'} &amp;&amp; $c =~ \/\\Q$in{'url'}\\E\/i) { &amp;error(\"\u53c2\u7167\u5148\u306eURL\u3068\u540c\u4e00URL\u304c\u30b3\u30e1\u30f3\u30c8\u4e2d\u306b\u542b\u307e\u308c\u3066\u3044\u307e\u3059\"); }\nif ($c !~ \/[\\x80-\\xff]\/) { &amp;error(\"\u30b3\u30e1\u30f3\u30c8\u4e2d\u306b\u65e5\u672c\u8a9e\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u305b\u3093\"); }\n$urlnum = ($c =~ s\/http\/http\/g);\nif ($urlnum &gt; 3) { &amp;error(\"\u30b3\u30e1\u30f3\u30c8\u4e2d\u306eURL\u304c4\u500b\u3092\u8d8a\u3048\u3066\u3044\u307e\u3059\"); }\n#\u25b2\u3053\u3053\u307e\u3067\u8ffd\u52a0\u25b2\n# \u6642\u9593\u3092\u53d6\u5f97\n$ENV{'TZ'} = \"JST-9\";\n$time = time;\n($min,$hour,$mday,$mon,$year,$wday) = (localtime($time))[1..6];<\/pre>\n<p><span style=\"font-size: 10pt; color: #FF6600; font-weight:bold;\">\u25a0 yybbs\/yyregi.cgi<\/span><\/p>\n<pre>sub regist {\nlocal($flag,$oyaChk,@lines,@data,@new,@tmp);\n# \u6642\u9593\u53d6\u5f97\n&amp;get_time;\n# \u30d5\u30a9\u30fc\u30e0\u5165\u529b\u30c1\u30a7\u30c3\u30af\n&amp;formCheck;\n#\u25bc\u3053\u3053\u304b\u3089\u25bc\n$c = $in{'comment'};\nif ($in{'url'} &amp;&amp; $c =~ \/\\Q$in{'url'}\\E\/i) { &amp;error(\"\u53c2\u7167\u5148\u306eURL\u3068\u540c\u4e00URL\u304c\u30b3\u30e1\u30f3\u30c8\u4e2d\u306b\u542b\u307e\u308c\u3066\u3044\u307e\u3059\"); }\nif ($c !~ \/[\\x80-\\xff]\/) { &amp;error(\"\u30b3\u30e1\u30f3\u30c8\u4e2d\u306b\u65e5\u672c\u8a9e\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u305b\u3093\"); }\n$urlnum = ($c =~ s\/http\/http\/g);\nif ($urlnum &gt; 3) { &amp;error(\"\u30b3\u30e1\u30f3\u30c8\u4e2d\u306eURL\u304c4\u500b\u3092\u8d8a\u3048\u3066\u3044\u307e\u3059\"); }\n#\u25b2\u3053\u3053\u307e\u3067\u8ffd\u52a0\u25b2\n# \u6295\u7a3f\u30ad\u30fc\u30c1\u30a7\u30c3\u30af<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u5bb6\u30b5\u30a4\u30c8\u306e\u300c\u3088\u3051\u3093\u3055\u304b\u306e\u63b2\u793a\u677f\u300d\u306b\u306f\u300cLQ\u30a2\u30af\u30bb\u30b9\u5236\u9650\u30e9\u30a4\u30d6\u30e9\u30ea\u300d\u3068\u300c.htaccess\u300d\u3067\u30a2\u30af\u30bb\u30b9\u5236\u9650\u3092\u304b\u3051\u3066\u307e\u3059\u304c\u3001\u6700\u8fd1\u306e\u63b2\u793a\u677f\u8352\u3089\u3057\u306fIP\u3092\u5909\u3048\u3066\u81ea\u52d5\u7684\u306b\u66f8\u304d\u8fbc\u307f\u3092\u7e70\u308a\u8fd4\u3059\u30bd\u30d5\u30c8\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u305d\u306e\u90fd\u5ea6\u30a2\u30af\u30bb\u30b9 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-72","post","type-post","status-publish","format-standard","hentry","category-3"],"_links":{"self":[{"href":"https:\/\/yokensaka.com\/blog\/wp-json\/wp\/v2\/posts\/72","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yokensaka.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yokensaka.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yokensaka.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yokensaka.com\/blog\/wp-json\/wp\/v2\/comments?post=72"}],"version-history":[{"count":0,"href":"https:\/\/yokensaka.com\/blog\/wp-json\/wp\/v2\/posts\/72\/revisions"}],"wp:attachment":[{"href":"https:\/\/yokensaka.com\/blog\/wp-json\/wp\/v2\/media?parent=72"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yokensaka.com\/blog\/wp-json\/wp\/v2\/categories?post=72"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yokensaka.com\/blog\/wp-json\/wp\/v2\/tags?post=72"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}