<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tanakahisateru</author_name>
  <author_url>https://blog.hatena.ne.jp/tanakahisateru/</author_url>
  <blog_title>なんたらノート第三期ベータ</blog_title>
  <blog_url>https://tanakahisateru.hatenablog.jp/</blog_url>
  <categories>
    <anon>PHP</anon>
  </categories>
  <description>ありがちかもしれないけど、PHPコードをページからPOSTしてevalする対話的プログラムの窓口を書いてみた。CLIが封じられてる環境だと、エディタ→FTP→ブラウザ→ソースを見る→エディタ→FTP→ブラウザ→...がめんどくさいので。あと、管理で楽するために、「テストサイトのディレクトリに、このファイルを1個置くだけ」みたいにしたかった。 &lt;?php if(isset($_POST['code'])){ header(&quot;Content-Type: text/plain; charset=utf-8&quot;); if(!isset($_POST['fullhtml'])){ ob_start(); …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftanakahisateru.hatenablog.jp%2Fentry%2F20081017%2F1224212149&quot; title=&quot;PHPコードをページからPOSTしてevalする - なんたらノート第三期ベータ&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>http://cdn-ak.f.st-hatena.com/images/fotolife/t/tanakahisateru/20081017/20081017113645.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-10-17 11:55:49</published>
  <title>PHPコードをページからPOSTしてevalする</title>
  <type>rich</type>
  <url>https://tanakahisateru.hatenablog.jp/entry/20081017/1224212149</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
