Mr. Gecko (the developer) has disabled this add on to where it doesn't validate anything as bad... If you would like this plugin to work, follow these instructions.
1 Make sure your php can use fopen to open websites.
2 Make a php file on your site and put this in it.
Code:
<?
error_reporting(0);
$url = isset($_REQUEST['url']) ? trim($_REQUEST['url']) : "";
header("Content-Type: text/plain");
$mime = "";
if ($file = fopen($url, "r")) {
$fileInfo = stream_get_meta_data($file);
for ($h=0; $h<count($fileInfo['wrapper_data']); $h++) {
$headers = explode(";", strtolower($fileInfo['wrapper_data'][$h]));
for ($d=0; $d<count($headers); $d++) {
$header = $headers[$d];
if (preg_match("/content-type:/i", $header)) {
$mime = trim(str_replace("content-type:", "", $header));
}
}
}
fclose($file);
echo $mime;
}
?>
3 In the cron file, find curl_setopt($ch, CURLOPT_URL,"http://gecko.myusers.info/mime.php?url=".urlencode($val3)); and replace it with curl_setopt($ch, CURLOPT_URL,"http://YOURDOMAIN/YOURPATH.php?url=".urlencode($val3)); of course replacing the YOURDOMAIN and YOURPATH with the right data.
Mr. Gecko doesn't mind you using the plugin, but he does mind you using his server for checking things as it takes his bandwidth. Do not ask Mr. Gecko for help as this is all he is giving you guys... Please take to mind that this was written in 2007 and may have loads of problems still.