This commit is contained in:
Naumann 2020-06-10 15:24:05 +02:00
parent bc5ab4adc9
commit 9069b58ae2

View file

@ -37,13 +37,14 @@ if(isset($_GET['link'])) {
//read the response
$rsp = '';
while(!feof($fp)) { $rsp .= fgets($fp,8192); }
//fclose($fp);
fclose($fp);
/*
$hunks = explode("\r\n\r\n",trim($rsp));
$headers = explode("\n", $hunks[count($hunks) - 1]);
$response = trim($headers[0]);*/
$response= $rsp;
}
}
}
?>