hi,
I just installed suse linux 10.1 and was having some issues with some php commands.
the script i am trying to execute is:
<?
$fp = fsockopen(" 80, $errno, $errstr, 30);
if (!$fp) {
echo "$errstr ($errno)<br />\n";
} else {
$out = "GET / HTTP/1.1\r\n";
$out .= "Host: $out .= "Connection: Close\r\n\r\n";
fwrite($fp, $out);
while (!feof($fp)) {
echo fgets($fp, 128);
}
fclose($fp);
}
?>
I am getting this error:
(1935633761)
which is only the error number. I am not sure what the error is since i only get the error number. I stopped the firewall to see if it was the issue but i still get the error. Any idea?
Thanks
I just installed suse linux 10.1 and was having some issues with some php commands.
the script i am trying to execute is:
<?
$fp = fsockopen(" 80, $errno, $errstr, 30);
if (!$fp) {
echo "$errstr ($errno)<br />\n";
} else {
$out = "GET / HTTP/1.1\r\n";
$out .= "Host: $out .= "Connection: Close\r\n\r\n";
fwrite($fp, $out);
while (!feof($fp)) {
echo fgets($fp, 128);
}
fclose($fp);
}
?>
I am getting this error:
(1935633761)
which is only the error number. I am not sure what the error is since i only get the error number. I stopped the firewall to see if it was the issue but i still get the error. Any idea?
Thanks