{"version":"1.0","author_name":"oinusama","categories":["php"],"provider_url":"https://hatena.blog","url":"https://oinusama.hatenadiary.org/entry/20120609/p1","image_url":null,"type":"rich","width":"100%","description":"<?php setcookie ( 'hoge', '\u3042\u3070\u3070\u3070\u3070\u3070\u3070\u3070', time() + 365 * 86400, 'hoge.jp' ); print $_COOKIE['hoge'] \u304a\u3044\uff01\u713c\u3044\u3066\u76f4\u3050\u53c2\u7167\u3057\u306b\u8a00\u3063\u305f\u3089Undefined\u3060\u3063\u305f\uff01\u544a\u8a34\uff01 \u3063\u3066\u601d\u3063\u305f\u3093\u3060\u3051\u3069\u3001setcookie()\u306f\u4eca\u76f4\u3050cookie\u3092\u713c\u304f\u3093\u3058\u3083\u306a\u304f\u3066\u3001\u30d6\u30e9\u30a6\u30b6\u306bcookie\u713c\u3051\u30fc\uff3e\uff3e\u3063\u3066\u304a\u9858\u3044\u3059\u308b\u3060\u3051\u3060\u3063\u305f\u3002 \u3060\u304b\u3089\u30ea\u30ed\u30fc\u30c9\u3057\u305f\u3089\u3061\u3083\u3093\u3068\u713c\u3051\u3066\u308b\u3002 \u524a\u9664\u3059\u308b\u969b\u3082\u4e00\u7dd2\u3002 cookie\u98df\u3079\u308d\u30fc\uff3e\uff3e\u3063\u3066\u30d6\u30e9\u30a6\u30b6\u306b\u304a\u9858\u3044\u3059\u308b\u3060\u3051\u3067\u3001\u5373\u98df\u3079\u308b\u308f\u3051\u3058\u3083\u3042\u306a\u3044\u3002","title":"cookie\u713c\u3051\u3066\u306d\u30fc\u3058\u3083\u306d\u30fc\u304b\u3088\uff4b\uff53\u304c\uff01\u3068\u601d\u3063\u305f\u3089\u5f53\u305f\u308a\u524d\u3060\u3063\u305f\u4ef6","published":"2012-06-09 00:00:00","blog_url":"https://oinusama.hatenadiary.org/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Foinusama.hatenadiary.org%2Fentry%2F20120609%2Fp1\" title=\"cookie\u713c\u3051\u3066\u306d\u30fc\u3058\u3083\u306d\u30fc\u304b\u3088\uff4b\uff53\u304c\uff01\u3068\u601d\u3063\u305f\u3089\u5f53\u305f\u308a\u524d\u3060\u3063\u305f\u4ef6 - \u304a\u3082\u3057\u308d\u65e5\u8a18\u30d1\u30ef\u30fc\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/oinusama/","height":"190","blog_title":"\u304a\u3082\u3057\u308d\u65e5\u8a18\u30d1\u30ef\u30fc","provider_name":"Hatena Blog"}