脚 本 之 家 www.jb51.net
页面导航:  不限条件-->和替
本地搜索:
<?php exec("/bin/grep -r '$oldword' $rootpath", $results, $errorCode); if ($errorCode){ if ($errorCode == 1){ echo "Possibly no files were found with ?$oldword in them<BR>\n"; ...
http://www.jb51.net//article/15312.htm
这是个非常有用的程序,可以对文本文件进行特定的搜索,并以特定的文字替换指定的文字,举个例子说如果我这篇文章里有一个字全部打错了,有几十处,要一一找出来修改是件很麻烦的事,用下面这个就可以轻松搞定。--teaman.oso.com.cn类文件search_replace.inc<?php        classsearch_replace{              &n...
http://www.jb51.net//article/2148.htm
<?php  exec("/bin/grep-r'$oldword'$rootpath",$results,$errorCode);  if($errorCode){  if($errorCode==1){  echo"Possiblynofileswerefoundwith$oldwordinthem<BR>\n";  }  echo"OSError:$errorCode<BR>\n"...
http://www.jb51.net//article/2017.htm
共有:3/10,当前1/1页  [首页] [上一页] 1 [下一页] [尾页] 转到: