test
This commit is contained in:
parent
bc5ab4adc9
commit
9069b58ae2
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Reference in a new issue