this is very weird, very weird indeed....
I have this script
<?php
$fp = fsockopen ("http://www.google.com/", 80, $errno, $errstr, 30);
if (!$fp) {
echo "$errstr ($errno)<br>\n";
} else {
fputs ($fp, "GET / HTTP/1.0\r\nHost: [url]http://www.google.com/[/url] \r\n\r\n");
while (!feof($fp)) {
echo fgets ($fp,128);
}
fclose ($fp);
}
?>
Now, that is to test and i have tried many other sites other then google but everytime i do this the page displays this
(0)
What the heck is that? and how do i get it to get information from the site, the site is going to be http://www.caleague.com so.. why is it displaying (0)?