Ah, it works with fsockopen:

 $fp = fsockopen ("www.google.com", 80, $errno, $errstr, 30);
  if (!$fp)
  { print "Fehler: $errstr ($errno)\n";
  }
  else
  { fputs ($fp, "GET / HTTP/1.0\r\nHost: $Url\r\n\r\n");
   while (!feof($fp))
   { $sLine .= fgets ($fp, 4096);
   }
  }
  fclose ($fp);



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to