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; } + } } ?>