title: parse_str not working as it should?
body: <p>I have a very weird problem with an application I'm developing, what the app does, is take the data from another site and displays it nicely to the user, the data is located here (this is my profile):</p>
  
  <p><a href="http://fairview.deadfrontier.com/onlinezombiemmo/get_values.php?userID=2667244" rel="nofollow">http://fairview.deadfrontier.com/onlinezombiemmo/get_values.php?userID=2667244</a></p>
  
  <p>As you can see, that page looks like a huge query string. The problem is just with one variable, "newpms" (located almost at the end).</p>
  
  <p>This is my code to get all the variables and their values, I'm using parse_str():</p>
  
  <pre><code>$url = "http://fairview.deadfrontier.com/onlinezombiemmo/get_values.php?userID=2667244";
  $sc = file_get_contents($url);
  $str = parse_str(trim($sc));
  
  // wrong value
  print $newpms.PHP_EOL;
  
  // examples that show the correct value
  print $account_name.PHP_EOL;
  print $df_buyer.PHP_EOL;
  </code></pre>
  
  <p>Even if the site shows that the variable newpms is more than 0 on my side it ALWAYS shows as 0, it doesn't matter what value it has. I don't really understand this behavior.</p>
  
  <p>Even if I use is like this, it doesn't work:</p>
  
  <pre><code>$url = "http://fairview.deadfrontier.com/onlinezombiemmo/get_values.php?userID=2667244";
  $sc = file_get_contents($url);
  $data = array();
  $str = parse_str(trim($sc), $data);
  
  print_r($data);
  </code></pre>
  
  <p>This would produce (showing only newpms):</p>
  
  <blockquote>
    <p>[newpms] => 0</p>
  </blockquote>
  
  <p>Maybe file_get_contents is retrieving the wrong content?</p>
  
  <p>Thanks</p>