NullGet 1.2.0-alpha |
|
发布: 2014-05-28 23:08 | |
$a_url = "http://sourceforge.net/project/showfiles.php?group_id=204368&package_id=243873"; $a_url = "http://sourceforge.net/projects/nullget/files/"; // $a_url = "http://sourceforge.net/projects/nullget/files/nullfxp/"; $pkg_name = "nullget"; $versions = array('2.1.0', '2.0.2', '2.0.1', '2.0.0'); //echo 'SourceForge.net Nullfxp Download page'; $a_c = file($a_url); // print_r($a_c); foreach ($versions as $idx => $ver) { } $blno = -1; $elno = 0; if(!$a_c || count($a_c) == 0 ) { //echo "Page error. Refresh please."; echo "SourceForge.net Nullfxp Download page"; }else{ foreach($a_c as $lno => $lv) { //if(trim($lv) == '') { // $blno = $lno; //} if(strstr(trim($lv), "files_list") != null) { $blno = $lno; } //if(trim($lv) == ' // $elno = $lno; //} $section_end = false; if($blno > 0) { if(trim($lv) == " |
Powered by zexport
|