setAuthType($_POST['auth_type']);
$http->setPassword($_POST['password']);
$http->setUsername($_POST['username']);
}
$http->request($_POST['url']);
$responseHeaders = $http->getResponseHeaders();
$status = $http->getHttpCode();
$error = $http->getError();
if ($status !== 200)
{
?>
|
|
$v)
{
$k = strtolower($k);
$found = in_array($k, $reportOnly);
?>
>
|
|
$v)
{
if (!array_key_exists($k, $responseHeaders)
&& !in_array($k, $exclude)
&& !(in_array($k, $special) && array_key_exists($k . '-report-only', $responseHeaders) ))
{
$missing[$k] = @$categories[$v[2]];
}
}
if (!empty($missing))
{
asort($missing);
?>