Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

opensuse php issue

Status
Not open for further replies.

richardko

Programmer
Jun 20, 2006
127
US
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
 
never mind...it was a dns issue. thanks for looking
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top