PHP-Code:
$fp = fsockopen("www.micronax-systems.de", 80, $errno, $errstr, 30)
or die("Fehler: ".$errstr);
fputs ($fp, "GET / HTTP/1.0\r\n\r\n");
fputs($fp, "Authorization: Basic ".base64_encode("user:pass"));
$source = fgets($fp, 10000);
fclose($fp);
Warum nicht der Inhalt der Docs?
Micronax
Kommentar