title: generate a meaningful random string using php
body: <p>I would like to generate a random string with meaningful word</p>
  
  <pre><code>function randString($length, $charset='abcdefghijklmnopqrstuvwxyz'){
      $str = '';
      $count = strlen($charset);
      while ($length--) {
          $str .= $charset[mt_rand(0, $count-1)];
      }
      return $str;
  }
  </code></pre>
  
  <p>I have used this function but it generate random which has not any meaning in dictionary.
  Have you any idea or is it not possible.
  Please let me know if you have any idea according or have better solution regarding.</p>
  
  <p>Thanks in advance.</p>