title: PHP crypt function password encoding
body: <p>The following code returns the same encrypted password whichever way round. Why and how do we stop this.</p>
  
  <pre><code>$pwd = 'shits8888';
  $salt = '50153fc193af9';
  
  echo crypt($pwd,$salt)
  </code></pre>
  
  <p>Obviously something is missing as this is returning the same thing</p>
  
  <pre><code>$pwd = 'shits8888hjhfgnsdkjf8744884';
  $salt = '50153fc193af9';
  
  echo crypt($pwd,$salt)
  </code></pre>