摘要:        
$a = '/a/b/c/d/e.php'; $b = '/a/b/12/34/c.php'; function getRelativePath($a, $b) { $returnPath = array(dirname($b)); $arrA = explode('/', $...    阅读全文
posted @ 2011-09-21 14:17
末世
阅读(112)
评论(0)
推荐(0)
        
            
        
        
摘要:        
function traverse_scandir($dir) { $files = array(); if ($handle = opendir($dir)) { while (false !== ($file = readdir($handle))) { if ($file != "." && $file !="..") { ...    阅读全文
posted @ 2011-09-21 11:40
末世
阅读(114)
评论(0)
推荐(0)
        
 
                    
                
 
 浙公网安备 33010602011771号
浙公网安备 33010602011771号