Aşağıdaki gibi sonsuz döngüye giriyor kod nedendir?
PHP Warning: fread() expects parameter 1 to be resource, boolean given in /var/www/vhosts/xxxxx/cloud1/functions/xxxxx.php on line 66
PHP Warning: feof() expects parameter 1 to be resource, boolean given in /var/www/vhosts/xxxxx/cloud1/functions/xxxxx.php on line 65
PHP Warning: fread() expects parameter 1 to be resource, boolean given in /var/www/vhosts/xxxxx/cloud1/functions/xxxxx.php on line 66
PHP Warning: feof() expects parameter 1 to be resource, boolean given in /var/www/vhosts/xxxxx/cloud1/functions/xxxxx.php on line 65
PHP Warning: fread() expects parameter 1 to be resource, boolean given in /var/www/vhosts/xxxxx/cloud1/functions/xxxxx.php on line 66
PHP Warning: feof() expects parameter 1 to be resource, boolean given in /var/www/vhosts/xxxxx/cloud1/functions/xxxxx.php on line 65
PHP Warning: fread() expects parameter 1 to be resource, boolean given in /var/www/vhosts/xxxxx/cloud1/functions/xxxxx.php on line 66
PHP Warning: feof() expects parameter 1 to be resource, boolean given in /var/www/vhosts/xxxxx/cloud1/functions/xxxxx.php on line 65
PHP Warning: fread() expects parameter 1 to be resource, boolean given in /var/www/vhosts/xxxxx/cloud1/functions/xxxxx.php on line 66
PHP Warning: feof() expects parameter 1 to be resource, boolean given in /var/www/vhosts/xxxxx/cloud1/functions/xxxxx.php on line 65
PHP Warning: fread() expects parameter 1 to be resource, boolean given in /var/www/vhosts/xxxxx/cloud1/functions/xxxxx.php on line 66
PHP Warning: feof() expects parameter 1 to be resource, boolean given in /var/www/vhosts/xxxxx/cloud1/functions/xxxxx.php on line 65
PHP Warning: fread() expects parameter 1 to be resource, boolean given in /var/www/vhosts/xxxxx/cloud1/functions/xxxxx.php on line 66
PHP Warning: feof() expects parameter 1 to be resource, boolean given in /var/www/vhosts/xxxxx/cloud1/functions/xxxxx.php on line 65
PHP Warning: fread() expects parameter 1 to be resource, boolean given in /var/www/vhosts/xxxxx/cloud1/functions/xxxxx.php on line 66
PHP Warning: feof() expects parameter 1 to be resource, boolean given in /var/www/vhosts/xxxxx/cloud1/functions/xxxxx.php on line 65
PHP Warning: fread() expects parameter 1 to be resource, boolean given in /var/www/vhosts/xxxxx/cloud1/functions/xxxxx.php on line 66
PHP Warning: feof() expects parameter 1 to be resource, boolean given in /var/www/vhosts/xxxxx/cloud1/functions/xxxxx.php on line 65
PHP Warning: fread() expects parameter 1 to be resource, boolean given in /var/www/vhosts/xxxxx/cloud1/functions/xxxxx.php on line 66
PHP Warning: feof() expects parameter 1 to be resource, boolean given in /var/www/vhosts/xxxxx/cloud1/functions/xxxxx.php on line 65
PHP Warning: fread() expects parameter 1 to be resource, boolean given in /var/www/vhosts/xxxxx/cloud1/functions/xxxxx.php on line 66
PHP Warning: feof() expects parameter 1 to be resource, boolean given in /var/www/vhosts/xxxxx/cloud1/functions/xxxxx.php on line 65
PHP Warning: fread() expects parameter 1 to be resource, boolean given in /var/www/vhosts/xxxxx/cloud1/functions/xxxxx.php on line 66
PHP Warning: feof() expects parameter 1 to be resource, boolean given in /var/www/vhosts/xxxxx/cloud1/functions/xxxxx.php on line 65
PHP Warning: fread() expects parameter 1 to be resource, boolean given in /var/www/vhosts/xxxxx/cloud1/functions/xxxxx.php on line 66
PHP Warning: feof() expects parameter 1 to be resource, boolean given in /var/www/vhosts/xxxxx/cloud1/functions/xxxxx.php on line 65
PHP Warning: fread() expects parameter 1 to be resource, boolean given in /var/www/vhosts/xxxxx/cloud1/functions/xxxxx.php on line 66
PHP Warning: feof() expects parameter 1 to be resource, boolean given in /var/www/vhosts/xxxxx/cloud1/functions/xxxxx.php on line 65
PHP Warning: fread() expects parameter 1 to be resource, boolean given in /var/www/vhosts/xxxxx/cloud1/functions/xxxxx.php on line 66
PHP Warning: feof() expects parameter 1 to be resource, boolean given in /var/www/vhosts/xxxxx/cloud1/functions/xxxxx.php on line 65^C
hata verdiği kod fonksiyonu ise ;
function makeValidationCall(){
if($this->CallUrl != '' && $this->Uri != '' && $this->Output != ''){
$handle = fopen($this->CallUrl, "rb");
$contents = '';
while (!feof($handle)) {
$contents .= fread($handle, 8192);
}
fclose($handle);
$this->Feedback = $contents;
sleep($this->Sleep);
return $contents;
} else {
return false;
}
}