Menu
I am working on an fsockopen() function and it seems to working but nothing is being returned.
i wanted to make sure i wasn’t missing anything. before I go and look at configuration files and such.
[code=php]
$fp = fsockopen($this->_dsUrl,8080,$errno,$errstr,60);
if(!$fp){
echo “$errstr ($errno)<br />n”;
}else{
fwrite($fp,$output);
while(!feof($fp)) {
echo fgets($fp);
}
fclose($fp);
}
this code is part of a bigger php class, but should be enough code to verify that I am asking for the correct information back from the server.
any ideas?
Thanks,
-V