<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shigemk2</author_name>
  <author_url>https://blog.hatena.ne.jp/shigemk2/</author_url>
  <blog_title>by shigemk2</blog_title>
  <blog_url>https://www.shigemk2.com/</blog_url>
  <categories>
    <anon>php</anon>
  </categories>
  <description>12文字の文字列をランダムで生成したいとき、どうしたらいいんだろうと ふと思ったので、 PHP でランダム文字列を生成|てくめも@ecoop.net こちらから拝借し、コードを作成しました。 &lt;?php function getRandomString($s_length = 12){ $char_list = &quot;ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789&quot;; $result = &quot;&quot;; for($i = 0; $i &lt; $s_length; $i++) $result .= $char_list[mt_rand(0, strlen($char_list) - 1…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2F20111214%2F1323865802&quot; title=&quot;ランダムな文字列を生成する - by shigemk2&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>2011-12-14 21:30:02</published>
  <title>ランダムな文字列を生成する</title>
  <type>rich</type>
  <url>https://www.shigemk2.com/entry/20111214/1323865802</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
