{"type":"rich","author_name":"tanukitsune3","height":"190","provider_name":"Hatena Blog","blog_url":"https://tanukitsune3.hatenablog.com/","title":"PHP cookie/session","version":"1.0","author_url":"https://blog.hatena.ne.jp/tanukitsune3/","url":"https://tanukitsune3.hatenablog.com/entry/2022/02/19/142310","blog_title":"tanukitsune3\u306e\u65e5\u8a18","image_url":null,"categories":["PHP"],"published":"2022-02-19 14:23:10","width":"100%","description":"cookie setcookie\u306e\u524d\u306f\u4f55\u3082\u51fa\u529b\u3057\u3066\u306f\u3044\u3051\u306a\u3044( echo\u3084HTML\u306e\u8a18\u8ff0\u306a\u3069 ) cookie\u3092\u30bb\u30c3\u30c8 setcookie('\u30af\u30c3\u30ad\u30fc\u540d', $\u5024\u306e\u5909\u6570); $\u5909\u65701 = $\u5909\u65702 ?? filter_input(INPUT_COOKIE, '\u30af\u30c3\u30ad\u30fc\u540d') ?? 'transparent'; \u5909\u65702\u306b\u5024\u304c\u306a\u3051\u308c\u3070\u30af\u30c3\u30ad\u30fc\u306e\u5024\u304b\u3089\u5165\u624b\u3001\u305d\u308c\u3082\u306a\u3051\u308c\u3070transparent\u306b\u3057\u3066\u3068\u3044\u3046\u610f\u5473 cookie\u3092\u524a\u9664 setcookie('\u30af\u30c3\u30ad\u30fc\u540d', ''); cookie\u306b\u7a7a\u6587\u5b57\u3092\u5165\u308c\u308b\u3053\u3068\u3067\u3001cookie\u306e\u6709\u52b9\u671f\u9650\u3092\u904e\u53bb\u65e5\u6642\u306b\u30bb\u30c3\u30c8\u3057\u3066\u304f\u308c\u308b\u305f\u3081\u524a\u9664\u3055\u308c\u308b SESSION \u30bb\u30c3\u30b7\u2026","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftanukitsune3.hatenablog.com%2Fentry%2F2022%2F02%2F19%2F142310\" title=\"PHP cookie/session - tanukitsune3\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>"}