From 9069b58ae29bbfd5a1f22e336c0feaede33f10f6 Mon Sep 17 00:00:00 2001 From: Naumann Date: Wed, 10 Jun 2020 15:24:05 +0200 Subject: [PATCH] test --- php/pasta.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/php/pasta.php b/php/pasta.php index abd2cd0..64027b2 100644 --- a/php/pasta.php +++ b/php/pasta.php @@ -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; } + } } ?>