title: fsock: Unable to find the socket transport "http"
body: <p>i want to send post variables with fsock, 
  but when i try this:</p>
  
  <pre><code>$post_arr = array ("a" =&gt; "b");
      $addr = 'http://1.2.3.4/confirmation.html';
  
      $fp = fsockopen($addr, 80, $errno, $errstr, 30);
      if (!$fp) {
          echo "$errstr ($errno)&lt;br /&gt;\n";
      } else {
  
          $req = '';
          foreach ($post_arr as $key =&gt; $value) {
              $value = urlencode(stripslashes($value));
              $req .= "&amp;" . $key . "=" . $value;
          }
  
  
          $header = "POST /cgi-bin/webscr HTTP/1.0\r\n";
          $header .= "Content-Type: application/x-www-form-urlencoded\r\n";
          $header .= "Content-Length: " . strlen($req) . "\r\n\r\n";
          fwrite($fp, $header);
          while (!feof($fp)) {
              echo fgets($fp, 128);
          }
          fclose($fp);
      }
  </code></pre>
  
  <p>I get 'Unable to find the socket transport "http" ',
  any ideas why?</p>