an example whow to do an module????
private function getversion($url){
if(empty($url))
return false;
$url = str_replace( "&", "&", urldecode(trim($url)));
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
$output = curl_exec($ch);
curl_close($ch);
if(is_numeric($output))
return $output;
if(preg_match('/V([\d]\.[\d]+)/', $output, $ver) && is_numeric($ver[1]))
return $ver[1];
return false;
}
public function checkupdate() {
return '2.0;http://www.wjunction.com/1256499-post11.htm;http://www.wjunction.com/1256499-post11.htm';
}
thanks mr happy
---------- Post added at 03:45 PM ---------- Previous post was at 03:34 PM ----------
Hi Mr.Happy
the problem is same again
i select downloads from queue and click on accept button
but they are disappearing
http://ddl.desidownloads.me/wc3admin.php?go=queue
---------- Post added at 04:02 PM ---------- Previous post was at 03:45 PM ----------
it only accept downloads which are without brackets
()
men in black 2012 is accepted
and men in black (2012) is rejected