<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Comments on snippet: 'Random Password Generator Shell Script - PHP Class + SHA1 based'</title>
    <description>Snipplr comments feed</description>
    <link>https://ipv6.snipplr.com/</link>
    <lastBuildDate>Wed, 22 Apr 2026 11:35:39 +0000</lastBuildDate>
    <item>
      <title>benoit said on 27/Oct/2009</title>
      <link>https://ipv6.snipplr.com/view/21909/random-password-generator-shell-script--php-class--sha1-based</link>
      <description>&lt;p&gt;Line 149 replace this : &#13;
	$password .= $seed{rand(0,$seed_length-1)};&#13;
&#13;
By this : &#13;
	$password .= $seed{rand(0,$seed_length-1)};&#13;
&#13;
Otherwise it throws an undefined $password var&lt;/p&gt;</description>
      <pubDate>Tue, 27 Oct 2009 09:09:12 UTC</pubDate>
      <guid>https://ipv6.snipplr.com/view/21909/random-password-generator-shell-script--php-class--sha1-based</guid>
    </item>
    <item>
      <title>benoit said on 27/Oct/2009</title>
      <link>https://ipv6.snipplr.com/view/21909/random-password-generator-shell-script--php-class--sha1-based</link>
      <description>&lt;p&gt;By this : $password = $seed{rand(0,$seed_length-1)};&lt;/p&gt;</description>
      <pubDate>Tue, 27 Oct 2009 09:19:35 UTC</pubDate>
      <guid>https://ipv6.snipplr.com/view/21909/random-password-generator-shell-script--php-class--sha1-based</guid>
    </item>
    <item>
      <title>AzizLight said on 28/Oct/2009</title>
      <link>https://ipv6.snipplr.com/view/21909/random-password-generator-shell-script--php-class--sha1-based</link>
      <description>&lt;p&gt;benoit: The code I posted works perfectly for me. Do not, I repeat do not replace &#13;
    $password .= $seed{rand(0,$seed_length-1)};&#13;
by&#13;
    $password = $seed{rand(0,$seed_length-1)};&#13;
or else the paswords generated will only be one character long. What you could do is add the following code on line 31:&#13;
    $password = '';&#13;
That should solve your problem.&lt;/p&gt;</description>
      <pubDate>Wed, 28 Oct 2009 07:08:59 UTC</pubDate>
      <guid>https://ipv6.snipplr.com/view/21909/random-password-generator-shell-script--php-class--sha1-based</guid>
    </item>
    <item>
      <title>AzizLight said on 28/Oct/2009</title>
      <link>https://ipv6.snipplr.com/view/21909/random-password-generator-shell-script--php-class--sha1-based</link>
      <description>&lt;p&gt;I updated the snippet, now you shouldn't have a problem.&lt;/p&gt;</description>
      <pubDate>Wed, 28 Oct 2009 07:11:23 UTC</pubDate>
      <guid>https://ipv6.snipplr.com/view/21909/random-password-generator-shell-script--php-class--sha1-based</guid>
    </item>
    <item>
      <title>listlesspolite said on 11/Dec/2024</title>
      <link>https://ipv6.snipplr.com/view/21909/random-password-generator-shell-script--php-class--sha1-based</link>
      <description>&lt;p&gt;Being mobile is essential for &lt;a href="https://amongusonline.co/"&gt;among us online&lt;/a&gt; avoiding danger and making an impact.&lt;/p&gt;</description>
      <pubDate>Wed, 11 Dec 2024 07:57:46 UTC</pubDate>
      <guid>https://ipv6.snipplr.com/view/21909/random-password-generator-shell-script--php-class--sha1-based</guid>
    </item>
  </channel>
</rss>
