<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tanukitsune3</author_name>
  <author_url>https://blog.hatena.ne.jp/tanukitsune3/</author_url>
  <blog_title>tanukitsune3の日記</blog_title>
  <blog_url>https://tanukitsune3.hatenablog.com/</blog_url>
  <categories>
    <anon>PHP</anon>
  </categories>
  <description>cookie setcookieの前は何も出力してはいけない( echoやHTMLの記述など ) cookieをセット setcookie('クッキー名', $値の変数); $変数1 = $変数2 ?? filter_input(INPUT_COOKIE, 'クッキー名') ?? 'transparent'; 変数2に値がなければクッキーの値から入手、それもなければtransparentにしてという意味 cookieを削除 setcookie('クッキー名', ''); cookieに空文字を入れることで、cookieの有効期限を過去日時にセットしてくれるため削除される SESSION セッシ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftanukitsune3.hatenablog.com%2Fentry%2F2022%2F02%2F19%2F142310&quot; title=&quot;PHP cookie/session - tanukitsune3の日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-02-19 14:23:10</published>
  <title>PHP cookie/session</title>
  <type>rich</type>
  <url>https://tanukitsune3.hatenablog.com/entry/2022/02/19/142310</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
