title: failed to open stream: HTTP request failed! HTTP/1.1 407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request
body: <p>I am strugling with this code:</p>
  
  <pre><code>$auth = base64_encode('domain\username:password');
  $aContext = array(
      'http' =&gt; array(
          'proxy' =&gt; 'tcp://proxy:80',
          'request_fulluri' =&gt; true,
          'header' =&gt; "Proxy-Authorization: Basic $auth",
      ),
  );
  $cxContext = stream_context_create($aContext);
  
  $sFile = file_get_contents("http://www.codecraft.gr", false, $cxContext);
  
  echo $sFile;
  </code></pre>
  
  <p>i keep getting the following message</p>
  
  <blockquote>Warning: file_get_contents(http://www.codecraft.gr) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web P in C:\wamp\www\test17\tarantula.php on line 17</blockquote>
  
  <p>the thing is that myusername and password are correct, and i realy cant find something to help me with that ISA server :S
  any suggestions?</p>