Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: zippyshare playeris

Parašė avice· 2013 Bal. 10 19:04:02
#2


 
function zippy($url) {
$id = explode("v/",$url);
if(@$id[1]) {
$id = explode("/file",$id[1]);
$id = $id[0];
$server = explode("//www",$url);
$server = explode(".zipp",$server[1]);
$server = $server[0];
}else{
$id = explode("key%3D",$url);
$id = $id[1];
$server = explode("//www",$url);
$server = explode(".zipp",$server[1]);
$server = $server[0];
}
return array($server,$id);
}
$url = zippy("http://www54.zippyshare.com/v/80460303/file.html");
$file = $url[1]; // 80460303
$www = $url[0]; // 54
 

suveiks arba ne.