title: in_array() not working
body: <p>My code:</p>
  
  <pre><code>&lt;?php
  
  $pass = "12345";
  
  //checkPass($pass, $user, $length);
  $file = file_get_contents("common.txt");
  $array = explode("\n", $file);
  if(in_array($pass, $array) == true) {
   echo "it's in the array";
  }
  ?&gt;
  </code></pre>
  
  <p>first few lines of the array (i used print_r($array)...):</p>
  
  <pre>
  Array ( [0] => 12345 [1] => abc123 [2] => password [3] => computer [4] => 123456 
  [5] => tigger [6] => 1234 [7] => a1b2c3 [8] => qwerty [9] => 123 [10] => xxx 
  [11] => money [12] => test [13] => carmen [14] => mickey [15] => secret 
  [16] => summer [17] => internet [18] => service [19] => canada [20] => hello 
  [21] => ranger [22] => shadow [23] => baseball [24] => donald [25] => harley 
  [26] => hockey [27] => letmein [28] => maggie [29] => mike [30] => mustang 
  [31] => snoopy
  </pre>