It doesnt work anymore, jamglue av added a captcha image, n wrzuta av changed something so it dont work when u search using wrzuta source
moozzl.com like - mp3 search engine
Collapse
X
-
anyone got update to this?? please change jamglue source,, can you Change it to 4shared?? look at MP3 SEARCH - PIMPZ.MOBI it uses 4shared,, please recode it
Comment
-
-
Originally posted by monsp3 View Post
Comment
-
PHP Code:<?
function extstr3($content,$start,$end){
if($content && $start && $end) {
$r = explode($start, $content);
if (isset($r[1])){
$r = explode($end, $r[1]);
return $r[0];
}
return '';
}
}
function run_shared()
{
global $srch;
global $sources;
global $lang;
global $settings;
global $session;
global $count_play;
global $web_path;
global $name;
global $url;
global $at;
global $pt;
$search = str_replace(' ' ,'+', $_GET[search]);
$page = (isset($_GET['page'])) ? $_GET['page'] : (int)1;
$page = ($page < 1) ? (int)1 : $page;
$page = ($page - 1) * 10;
$url = "http://www.4shared.com/network/search.jsp?sortType=1&sortOrder=1&sortmode=2&searchName={$search}&searchmode=3&searchName={$search}&searchDescription=&searchExtention=mp3&sizeCriteria=atleast&sizevalue=10&start={$page}";
$res = file_get_contents($url);
$str = strstr($res,'<div class="imgbox" align="center">');
$str = explode('<div class="imgbox" align="center">',$str);
for($i=1;$i<11;$i++){
$url3 = $str[$i];
$url3 = extstr3($url3,'class="fname">','</div>');
$url3 = extstr3($url3,'<a href="http://www.4shared.com/file/','.html?s=1');
$name = explode('/',$url3);
$name = $name[2];
$url ='http://dc107.4shared.com/download/'.$url3.'.mp3';
#$url2 = enc ($url);
$lname = str_replace (' ', '_', $name);
$lname = $name . '.mp3';
$link = 'name=' . $lname . '&url=' . $web_path . 'get.php?id=' . $url2;
if ( $name != "" )
{
echo $url;
#include( "templates/layout_list.php" );
}
}
if ($name == '')
{
$nomessage = $nomessage + 1;
}
$nomesnec = $nomesnec + 1;
}
?>
Comment
Comment