Hi,
Version 1.4
member loop:
Added the close but same thing white page. And this only with enabled plugin. Nothing in error log.
Version 1.4
member loop:
PHP:
$ch = curl_init($url);
if (!$ch) {
die("Couldn't initialize a cURL handle");
}
curl_setopt($ch, CURLOPT_HEADER, 1);
curl_setopt($ch, CURLOPT_NOBODY, true);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 2);
$c = curl_exec($ch);
$http_codes = parse_ini_file("./plugins/Unclutter/check.ini");
$http_status_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
$http_status_text = ($http_status_code > 0) ? $http_codes[curl_getinfo($ch, CURLINFO_HTTP_CODE)] : 'Failed';
curl_close($ch);
$extra .= "<td align=\"center\">{$http_status_code} | {$http_status_text}</td>";