title: GET method causes an error
body: <p>sorry for the title but I'm not reaaly sure how to call this. </p>
  
  <p>I am registered to a ssm service which enables sending automatic sms with a php script. 
  the script basically builds an xml string with all of the sms parameters (sendername, ..).</p>
  
  <p>then it uses this to send it :</p>
  
  <pre><code>$sms_host = "api.inforu.co.il"; // Application server's URL;  
      $sms_port = 80; // Application server's PORT; 
  
      ////.... generating query 
      $sms_path = "/SendMessageXml.ashx"; // Application server's PATH; 
      $fp = fsockopen($sms_host, $sms_port, $errno, $errstr, 30); // Opens a socket to the Application server
      if (!$fp){ // Verifies that the socket has been opened and sending the message; 
          echo "$errstr ($errno)&lt;br /&gt;\n"; 
          echo "no error";
      } else  {
          $out = "GET $sms_path?$query HTTP/1.1\r\n";
          $out .= "Host: $sms_host\r\n";
          $out .= "Connection: Close\r\n\r\n";
  
          fwrite($fp, $out);
          while (!feof($fp)){ 
              echo fgets($fp, 128); 
          } 
          fclose($fp); 
  </code></pre>
  
  <p>the query is fine if I paste this </p>
  
  <pre><code>$url = "http://api.inforu.co.il/SendMessageXml.ashx?" . $query;
  </code></pre>
  
  <p>directly in the browser, then the sms gets send. </p>
  
  <p>so the problem is that I'm getting an error </p>
  
  <p>Server Error in '/' Application.</p>
  
  <pre><code>The resource cannot be found.
  
  Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly. 
  
  Requested URL: /SendMessageXml.ashx
  </code></pre>