title: parse_str() suddenly not working
body: <pre><code>if($_POST['VIDEO']){
      $video = parse_url($_POST['VIDEO']);
      if($video['host'] == 'www.youtube.com' || $video['host'] == 'youtube.com'){
          $query = parse_str($video['query']);
          $v = $query['v'];
          if(!$v){
              //nothing found
          } else { 
              $videoOutput = 'yt:'.$v;
          }
      }
  }
  </code></pre>
  
  <p>So I made this script about a month ago. Worked perfectly up until last night. I don't understand why. It works perfectly up until last night. It does in fact parse the url, and the host is valid. I get to <code>parse_str</code> and everything suddenly doesn't work. I did <code>print_r</code> of <code>$query</code> and it returns no data. If I <code>echo</code> the variable though, I get a <code>1</code>. This file hasn't even been touched, so I don't understand why it would have suddenly broke.</p>
  
  <p>Any suggestions?</p>