<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>any-programming</author_name>
  <author_url>https://blog.hatena.ne.jp/any-programming/</author_url>
  <blog_title>何でもプログラミング</blog_title>
  <blog_url>https://any-programming.hatenablog.com/</blog_url>
  <categories>
    <anon>PHP</anon>
  </categories>
  <description>前回までで、基本的なToDoアプリの実装を行いました。 PHP --- フレームワークを利用しないでToDoアプリ作成（３） - 何でもプログラミング今回はCSRF対策とログイン機能を盛り込んでみたいと思います。両方ともセッションを利用しますので、$_SESSIONにアクセスする前までに下記を呼んでおいてください。 session_start(); CSRF対策 iframe内で他ページを開くなどして、勝手に送出された悪意あるPOSTをはじくために、各フォームにtokenを埋め込んでおきます。フォーム表示ごとにtokenを作り直してもいいのですが、今回はセッションIDと同じ寿命にして実装しまし…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fany-programming.hatenablog.com%2Fentry%2F2018%2F06%2F27%2F114849&quot; title=&quot;PHP --- フレームワークを利用しないでToDoアプリ作成（４） - 何でもプログラミング&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>https://cdn-ak.f.st-hatena.com/images/fotolife/a/any-programming/20180627/20180627113837.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-06-27 11:48:49</published>
  <title>PHP --- フレームワークを利用しないでToDoアプリ作成（４）</title>
  <type>rich</type>
  <url>https://any-programming.hatenablog.com/entry/2018/06/27/114849</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
