{"categories":["\u307e\u306a\u3073","PHP"],"type":"rich","width":"100%","author_url":"https://blog.hatena.ne.jp/yamashina/","author_name":"yamashina","height":"190","published":"2012-01-07 00:00:01","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyamashina.hatenadiary.org%2Fentry%2F20120107%2Fp2\" title=\"\u66f8\u7c4d\u30e1\u30e2 - yamashina\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://yamashina.hatenadiary.org/entry/20120107/p2","provider_url":"https://hatena.blog","description":"\"\u3088\u304f\u308f\u304b\u308bPHP\u306e\u6559\u79d1\u66f8\"\u306e\u30b5\u30f3\u30d7\u30eb\u3092\u6253\u3061\u306a\u304c\u3089\uff06\u8abf\u3079\u306a\u304c\u3089\u3068\u3063\u305f\u30e1\u30e2\u3002p108\u307e\u3067\u3002 \u30d8\u30c3\u30c0\u60c5\u5831\u3092\u51fa\u529b\u3059\u308b \u5225\u306e\u30da\u30fc\u30b8\u306b\u30b8\u30e3\u30f3\u30d7\u3059\u308b header('Location: http://d.hatena.ne.jp/yamashina/'); \u30d8\u30c3\u30c0\u60c5\u5831\u306f\u30da\u30fc\u30b8\u306e\u6700\u521d\u306b\u51fa\u3059\u3002\u9014\u4e2d\u3060\u3068\u30a8\u30e9\u30fc\u306b\u306a\u308b\u3002 \u30ea\u30d5\u30a1\u30ec\u30f3\u30b9 http://www.php.net/manual/ja/function.header.php Cookie\u3067\u5165\u529b\u60c5\u5831\u3092\u8a18\u61b6\u3059\u308b setcookie('my_id', $my_id, time() + 60*60*24*14); \u30ea\u30d5\u30a1\u30ec\u30f3\u30b9 http://www.php.net/\u2026","title":"\u66f8\u7c4d\u30e1\u30e2","provider_name":"Hatena Blog","blog_title":"yamashina\u306e\u65e5\u8a18","image_url":null,"version":"1.0","blog_url":"https://yamashina.hatenadiary.org/"}