易截截图软件、单文件、免安装、纯绿色、仅160KB

php删除 复制文件夹及其文件夹下所有文件

<?php
  *   xCopy("feiy","feiy2",1):拷贝feiy下的文件到   feiy2,推销员的一天,包括子目录    
  *参数说明:    
  *   $destination:目的目录名    
  */
    if (!file_exists($destination))
        if (!mkdir(rtrim($destination, '/'), 0777))
      ,有效消除黑眼圈5个妙方DIY;  //$err->add($_LANG['cannt_mk_dir']);
        }
     }
return 0;
if(!is_dir($destination)){
}
while($entry=$handle->read()){
if(is_dir($source."/".$entry)){
xCopy($source."/".$entry,$destination."/".$entry,$child);
else{
}
}    
}

  *  deldidr("feiy"):删除feiy,包括子目录      
  *   $dir:要删除的目录名    
function deldir($dir) {
}else{@chmod($dir, 0777);}
  while ($file=readdir($dh)) {
      $fullpath=$dir."/".$file;
          unlink($fullpath);
          deldir($fullpath);
    }


    return true;
  ,女士手机;  return false;
}

本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/huangguaxuan/archive/2008/08/21/2805769.aspx


相关文档:

PHP压缩与解压缩PCLZIP(标准版)

<?php
include_once('include/pclzip.lib.php');
$archive = new PclZip('archive.zip');
//解压缩到extract/folder/这个目录中
$list = $archive->extract(PCLZIP_OPT_PATH, "extract/folder/");

//增加这个目录在压缩档中,完成以后压缩档里面会有backup这个目录,backup里面会有这两个档案 ......

php文件上传函数

<?php
/**
+++++++++++++++++++++=+++++上传图片++++++++++++++++++++++++++++++++++++++++
—————————————————————————————&mdas ......

学习PHP(1)

基本语法
我的第一个PHP:Hello World
<?php
echo"Hello World!";
?>
显示结果为 Hello World!
变量
PHP中,所有的变量都以标识“$”开头:
<?php
$str1 = "Hello World!";
echo $str1;
?>
显示结果为 Hello World!
PHP中使用“.”符号连接不同的字符串。举例如下:
<?p ......

php开发50个非常有用的工具【转】

这里50个有益的PHP工具,可以大大提高你的编程工作:
调试工具
Webgrind
Xdebug
Gubed PHP Debugger
DBG
PHP_Debug
PHP_Dyn
MacGDBp
测试和优化工具
PHPUnit
SimpleTest
Selenium
PHP_CodeSniffer
dBug
PHP Profile Class
文档工具
phpDocumentor
PHP DOX
安全工具
Securimage
:验证码工具。
Scave ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号