in my localhost crypt function not working php
<p>WINDOWS-VISTA)</p>

<pre><code>echo substr($pwd,0,2); --&gt; executing fine
echo crypt($pwd,substr($pwd,0,2));--&gt; WHILE EXECUTING System gets hang
</code></pre>

<p>But this snippet working fine in my live.</p>
