选择显示字体大小

文件系统基本操作类


文件系统基本操作类<?php
error_reporting(2047);

/*
* class io (snakevil 完成 03.25.04) (v1.0.0.0)
*
* [说明]
* 本类用于对文件系统的处理。
*
* [功能]
* **** list_dir(&#36;dir_path);
* 读取指定目录内容,返回内容数组。
* &#36;dir_path 字符串,指定目录路径
* 若有错误返回 false,否则返回
* array(
* &quot;count&quot;=>array(&quot;files&quot;,&quot;dirs&quot;,&quot;size&quot;),
* &quot;list&quot;=>array(
* array(&quot;name&quot;,&quot;locate&quot;,&quot;type&quot;,&quot;size&quot;,&quot;last_access&quot;,&quot;last_change&quot;,&quot;last_modify&quot;),
* ......
* )
* )
* ********
* ********
* **** seek_file(&#36;pattern, &#36;dir_path, &#36;seek_type, &#36;sub_dir, &#36;interal, &#36;limit);
* 根据正则表达式条件,在相应目录及给定层次的子目录中搜索匹配的文件、目录。
* &#36;pattern 符合 perl 兼容标准的正则表达式,无须添加 //,系统自行添加
* &#36;seek_type 有 -1 0 1 三种可能值,0 仅文件夹,1 仅文件,-1 两者都包括
* &#36;sub_dir 数字值,搜索的子目录深度,指定目录不算,建议不要超过 5
* &#36;interal 布尔值,为真则返回搜索结果的详细信息,否则只返回文件名、类型及所在目录
* &#36;limit 数字值,搜索结果限制,避免过度浪费系统资源
* 若有错误返回 false,否则返回
* array(
* array(
* &quot;name&quot;,&quot;locate&quot;,&quot;type&quot;
* [,&quot;size&quot;,&quot;last_access&quot;,&quot;last_change&quot;,&quot;last_modify&quot;]
* ),
* ......
* )
* ********
* ********
* **** delete(&#36;path);
* 删除指定对象,文件或文件夹——包括内含子目录和文件的非空文件夹。
* &#36;path 字符串,指定要删除的内容路径,文件或目录均可
* 如有错误在错误处中断,返回 false,否则返回 true
* ********
* ********
* **** make_dir(&#36;path);
* 建立任意文件夹,相对或绝对路径皆可,深层建立亦可。
* &#36;path 字符串,要建立的最终目录路径
* 如有错误返回 false,否则返回 true
* ********
* ********
* **** verify_file(&#36;src, &#36;dst, &#36;interal);
* 使用 md5 算法比较两个文件是否相同。
* &#36;src 字符串,源文件路径
* &#36;dst 字符串,目标文件路径
* &#36;interal 布尔值,对于大于 1m 文件,可以设置为 false 以省去 md5 检验步骤,减轻服务器负担
* 若有错误返回 false,否则返回 true
* ********
* ********
* **** copy(&#36;src_path, &#36;dst_path);
* 对任意文件夹、文件进行复制,相对或绝对路径皆可,文件复制完成后会进行效验,检查是否出错数据错误。
* &#36;src_path 字符串,指定要复制的源内容路径,文件或目录均可
* &#36;dst_path 字符串,指定要复制的目标内容路径,文件或目录均可,性质由 &#36;src_path 决定,可为 &#36;src_path 下层目录
* 若有错误返回 false,否则返回 true
* ********
* ********
* **** move(&#36;src_path, &#36;dst_path);
* 对任意文件夹、文件进行移动,相对或绝对路径皆可,文件移动完成后会进行效验,检查是否出错数据错误。
* &#36;src_path 字符串,指定要移动的源内容路径,文件或目录均可
* &#36;dst_path 字符串,指定要移动的目标内容路径,文件或目录均可,性质由 &#36;src_path 决定,可为 &#36;src_path 下层目录
* 若有错误返回 false,否则返回 true
*
* [版权]
* 风雨明清(snakevil@51js, snakevil@bu)独立设计完成,保留一切权力。
* 随意使用,但请勿必保留下面的文本,谢谢!
*
* ===========z=================
* class.io.v1.0.0.0.build040325
* for.php.v4.20+
* by snakevil
* (snakevil@51js, snakevil@bu)
* --------+------
* qq:118824
* msn:snakevil_@hotmail.com
* hp:<a href=&quot;http://www.snakevil.com/&quot; target=&quot;_blank&quot;>http://www.snakevil.com/</a>
* ===========z=================
*
*/

class io {
var &#36;error_id;
var &#36;result;
var &#36;error_related;
var &#36;last_exist_dir;

function io() {
&#36;this->result = array();
&#36;this->error_id = 0x0000;
&#36;this->error_related = &quot;&quot;;
&#36;this->last_exist_dir = &quot;&quot;;
return &#36;this;
}

function error_occur(&#36;error_id=0xffff,&#36;error_related=&quot;&quot;) { // ----0xffff---- 发生错误,但错误原因未知
if (is_int(&#36;error_id)) &#36;this->error_id = &#36;error_id; // 获取错误号
&#36;this->error_related = &#36;error_related;
return false; // 错误发生时返回 false 方便进一步处理
}

function list_dir(&#36;dir_path=&quot;.&quot;) {
if (!is_dir(&#36;dir_path)) return &#36;this->error_occur(0x0001, &#36;dir_path); // ----0x0001---- 指定目录不存在
if (!&#36;dir_handle=@opendir(&#36;dir_path)) return &#36;this->error_occur(0x0002, &#36;dir_path); // ----0x0002---- 指定目录无权读取
&#36;result = array(
&quot;count&quot; => array(&quot;files&quot; => 0, &quot;dirs&quot; => 0, &quot;size&quot; => 0),
&quot;list&quot; => array()
);
while (false!==(&#36;file_handle=readdir(&#36;dir_handle))) { // 使用 !== 防止处理名称为 0 或 false 的文件、目录
if (&#36;file_handle==&quot;.&quot;&#36;file_handle==&quot;..&quot;) continue; // 忽略系统特定的两个文件夹
&#36;temp = str_replace(&quot;\&quot;, &quot;/&quot;, realpath(&#36;dir_path));
&#36;temp = substr(&#36;temp, -1)==&quot;/&quot; ? &#36;temp : &#36;temp.&quot;/&quot;;
&#36;temp = array(&#36;temp, &#36;file_handle);
&#36;file_handle = &#36;temp[0].&#36;temp[1]; // 获取绝对地址
&#36;temp = array(
&quot;name&quot; => &#36;temp[1],
&quot;locate&quot; => &#36;temp[0],
&quot;type&quot; => @filetype(&#36;file_handle),
&quot;size&quot; => filesize(&#36;file_handle),
&quot;last_access&quot; => fileatime(&#36;file_handle),
&quot;last_modify&quot; => filemtime(&#36;file_handle),
&quot;last_change&quot; => filectime(&#36;file_handle)
);
switch (&#36;temp[&quot;type&quot;]) {
case &quot;file&quot;:
&#36;temp[&quot;type&quot;] = 1;
&#36;result[&quot;count&quot;][&quot;files&quot;]++;
&#36;result[&quot;count&quot;][&quot;size&quot;] += &#36;temp[&quot;size&quot;];
break;
case &quot;dir&quot;:
&#36;temp[&quot;type&quot;] = 0;
&#36;result[&quot;count&quot;][&quot;dirs&quot;]++;
break;
default: // !!!! 鉴于 win32 平台,对既非文件也非目录的内容忽略
&#36;temp[&quot;type&quot;] = -1;
}
&#36;result[&quot;list&quot;][] = &#36;temp;
}
closedir(&#36;dir_handle);
unset(&#36;dir_handle, &#36;file_handle, &#36;temp);
clearstatcache(); // 清除文件系统缓存
return &#36;this->result = &#36;result;
}

function seek_file(&#36;pattern=&quot;.*&quot;,&#36;dir_path=&quot;.&quot;,&#36;seek_type=1,&#36;sub_dir=0,&#36;interal=false,&#36;limit=100) {
/* 规范一切可能的参数值 */
&#36;pattern = &quot;/&quot;.&#36;pattern.&quot;/&quot;;
&#36;seek_type = intval(&#36;seek_type);
&#36;seek_type = &#36;seek_type>0 ? 1 : (&#36;seek_type<0 ? -1 : 0);
&#36;sub_dir = abs(intval(&#36;sub_dir));
&#36;interal = (bool)&#36;interal;
&#36;limit = abs(intval(&#36;limit));
if (&#36;limit==0) &#36;limit = 100;
&#36;sub_dir_list = array(array(&#36;dir_path)); // 将查询目录作为子目录层次的第一层来对待
&#36;result = array();
/* i 当前处理的子目录层次,0 为指定目录层,即仅处理一个目录 */
for (&#36;i=0;&#36;i<=&#36;sub_dir;&#36;i++) {
if (!isset(&#36;sub_dir_list[&#36;i])) return &#36;this->result = &#36;result; // 如果某一层子目录没有设置,说明实际目录系统中再无目录,返回
/* k 每一子目录层次中子目录统计,j 当前处理序号 */
for (&#36;j=0,&#36;k=count(&#36;sub_dir_list[&#36;i]);&#36;j<&#36;k;&#36;j++) { // 根据每一层子目录数量处理
&#36;l = &#36;this->list_dir(&#36;sub_dir_list[&#36;i][&#36;j]);
if (!&#36;l) return &#36;this->result = &#36;result; // 出现错误,则立即停止返回现有结果
&#36;l = &#36;l[&quot;list&quot;];
/* n 每一子目录中文件、目录、其他项目统计,m 为当前处理序号 */
for (&#36;m=0,&#36;n=count(&#36;l);&#36;m<&#36;n;&#36;m++) {
if (count(&#36;result)>=&#36;limit) return &#36;this->result = &#36;result; // 如果要求数目已达到,返回
if (&#36;l[&#36;m][&quot;type&quot;]==0) &#36;sub_dir_list[&#36;i+1][] = &#36;l[&#36;m][&quot;locate&quot;].&#36;l[&#36;m][&quot;name&quot;]; // 搜集下一层子目录信息
&#36;o = &#36;l[&#36;m][&quot;type&quot;];
if (&#36;o!=&#36;seek_type&&(&#36;seek_type==1&#36;seek_type==0)) continue; // 忽略不符合要求的项目
elseif (&#36;o==-1&&&#36;seek_type==-1) continue;
if (!preg_match(&#36;pattern, &#36;l[&#36;m][&quot;name&quot;])) continue; // 忽略不符合正则表达式的项目
&#36;result[] = &#36;interal ? &#36;l[&#36;m] : array(&quot;name&quot; => &#36;l[&#36;m][&quot;name&quot;], &quot;locate&quot; => &#36;l[&#36;m][&quot;locate&quot;], &quot;type&quot; => &#36;l[&#36;m][&quot;type&quot;]);
}
}
}
unset(&#36;i, &#36;j, &#36;k, &#36;l, &#36;m, &#36;n, &#36;o, &#36;sub_dir_list);
return &#36;this->result = &#36;result;
}

function delete(&#36;path=&quot;&quot;) {
if (!file_exists(&#36;path)) return &#36;this->error_occur(0x0003, &#36;path); // ----0x0003---- 指定对象不存在
if (is_dir(&#36;path)) {
&#36;path = str_replace(&quot;&quot;, &quot;/&quot;, realpath(&#36;path));
&#36;path = substr(&#36;path, -1)==&quot;/&quot; ? &#36;path : &#36;path.&quot;/&quot;;
&#36;sub_list = array(array(&#36;path));
for (&#36;i=0;&#36;i<count(&#36;sub_list);&#36;i++) { // 使用 count(&#36;sub_list) 动态判断长度,从而有可能无定长循环
if (!isset(&#36;sub_list[&#36;i])) break; // 探索到最尽头,获得该目录下所有子目录列表,方便文件删除后删除目录
for (&#36;j=0,&#36;k=count(&#36;sub_list[&#36;i]);&#36;j<&#36;k;&#36;j++) {
&#36;l = &#36;this->list_dir(&#36;sub_list[&#36;i][&#36;j]);
if (!&#36;l) return &#36;this->error_occur(&quot;&quot;, &#36;sub_list[&#36;i][&#36;j]);
&#36;l = &#36;l[&quot;list&quot;];
for (&#36;m=0,&#36;n=count(&#36;l);&#36;m<&#36;n;&#36;m++) {
&#36;o = &#36;l[&#36;m][&quot;locate&quot;].&#36;l[&#36;m][&quot;name&quot;];
if (&#36;l[&#36;m][&quot;type&quot;]==0) &#36;sub_list[&#36;i+1][] = &#36;o;
elseif (!@unlink(&#36;o)) return &#36;this->error_occur(0x0004, &#36;o); // 删除目录下的每一个文件
}
}
}
for(&#36;i=count(&#36;sub_list)-1;&#36;i>=0;&#36;i--) // 逆回删除目录
for (&#36;j=0,&#36;k=count(&#36;sub_list[&#36;i]);&#36;j<&#36;k;&#36;j++) // 删除每一个子目录直到指定目录
if (!@rmdir(&#36;sub_list[&#36;i][&#36;j])) return &#36;this->error_occur(0x0005, &#36;sub_list[&#36;i][&#36;j]); // ----0x0005---- 目录无权删除
unset(&#36;i, &#36;j, &#36;k, &#36;l, &#36;m, &#36;n, &#36;o, &#36;sub_list);
return true;
} elseif (@unlink(&#36;path)) return true;
else return &#36;this->error_occur(0x0004, &#36;path); // ----0x0004---- 文件无权删除
}

function generate_realpath(&#36;path=&quot;&quot;) {
if (&#36;path==&quot;&quot;!is_string(&#36;path)) return &#36;this->error_occur(0x0007, &#36;path); // ----0x0007---- 路径参数错误
&#36;path = preg_replace(&quot;/(?<!^w)[:*?&quot;<>]/&quot;, &quot;&quot;, str_replace(&quot;\&quot;, &quot;/&quot;, &#36;path)); // 规范路径中多可能性的符号
if (substr(&#36;path,1,1)==&quot;:&quot;) return &#36;path; // !!!! win32 平台的绝对路径
elseif (substr(&#36;path,0,1)==&quot;/&quot;) return substr(realpath(&quot;.&quot;), 0, 2).&#36;path; // !!!! win32 平台下的绝对路径转换
else {
if (substr(&#36;path,-1)==&quot;/&quot;) &#36;path = substr(&#36;path,0,-1); // 清除结尾可能的 / 符号
&#36;path = preg_replace(&quot;//{2,}/&quot;, &quot;/&quot;, &#36;path); // 将 /// 诸如类似的相连符号简化为一个
&#36;path = explode(&quot;/&quot;, &#36;path); // 分割路径
&#36;cur_path = explode(&quot;/&quot;, str_replace(&quot;\&quot;, &quot;/&quot;, realpath(&quot;.&quot;)));
for (&#36;i=0,&#36;j=count(&#36;path);&#36;i<&#36;j;&#36;i++) {
if (&#36;path[&#36;i]==&quot;..&quot;) array_pop(&#36;cur_path);
elseif (&#36;path[&#36;i]==&quot;.&quot;&#36;path[&#36;i]==str_repeat(&quot;.&quot;, strlen(&#36;path[&#36;i]))) continue; // 忽略无用的相对路径地址 . 和 .... 等
else array_push(&#36;cur_path, &#36;path[&#36;i]);
}
&#36;path = implode(&quot;/&quot;, &#36;cur_path);
unset(&#36;cur_path);
return &#36;path;
}
}

function make_dir(&#36;path=&quot;&quot;) {
if (!&#36;path=&#36;this->generate_realpath(&#36;path)) return false;
&#36;path = explode(&quot;/&quot;, &#36;path);
&#36;i = array(&#36;path[0]);
for (&#36;i=0,&#36;j=count(&#36;path),&#36;k=array(),&#36;l=&quot;&quot;;&#36;i<&#36;j;&#36;i++) {
array_push(&#36;k, &#36;path[&#36;i]);
&#36;l = implode(&quot;/&quot;, &#36;k);
if (!file_exists(&#36;l)) {
if (&#36;this->last_exist_dir==&quot;&quot;) &#36;this->last_exist_dir = &#36;l;
if (!@mkdir(&#36;l)) return &#36;this->error_occur(0x0008, &#36;l); // ----0x0008---- 无法创建目录
}
}
return true;
}

function verify_file(&#36;src=&quot;&quot;,&#36;dst=&quot;&quot;,&#36;interal=true) {
if (!file_exists(&#36;src)!is_file(&#36;src)) return &#36;this->error_occur(0x000a, &#36;src); // ----0x000a---- 指定对象非文件
if (!file_exists(&#36;dst)!is_file(&#36;dst)) return &#36;this->error_occur(0x000a, &#36;dst);
&#36;i = filesize(&#36;src);
if (&#36;i!=filesize(&#36;dst)) {
unset(&#36;i);
return false;
}
if (&#36;i>1024*1024*1024&&!&#36;interal) { // 对于大于 1mb 的文件,如果不要求精确检查,跳过
unset(&#36;i);
return true;
}
unset(&#36;i);
if (md5_file(&#36;src)!=md5_file(&#36;dst)) return false;
return true;
}

function copy(&#36;src_path=&quot;&quot;,&#36;dst_path=&quot;&quot;) {
if (!file_exists(&#36;src_path)) return &#36;this->error_occur(0x0003, &#36;src_path);
if (!&#36;dst_path=&#36;this->generate_realpath(&#36;dst_path)) return false;
if (is_dir(&#36;src_path)) {
&#36;this->last_exist_dir = &quot;&quot;; // 记录现行实际存在的目录
if (!&#36;this->make_dir(&#36;dst_path)) return false; // 建立目录失败
&#36;src_path = str_replace(&quot;&quot;, &quot;/&quot;, realpath(&#36;src_path));
&#36;src_path = substr(&#36;src_path, -1)==&quot;/&quot; ? &#36;src_path : &#36;src_path.&quot;/&quot;;
&#36;sub_list = array(array(&#36;src_path));
for (&#36;i=0;&#36;i<count(&#36;sub_list);&#36;i++) {
if (!isset(&#36;sub_list[&#36;i])) break;
for (&#36;j=0,&#36;k=count(&#36;sub_list[&#36;i]);&#36;j<&#36;k;&#36;j++) {
&#36;l = &#36;this->list_dir(&#36;sub_list[&#36;i][&#36;j]);
if (!&#36;l) return &#36;this->error_occur(0x0003, &#36;sub_list[&#36;i][&#36;j]);
&#36;l = &#36;l[&quot;list&quot;];
for (&#36;m=0,&#36;n=count(&#36;l);&#36;m<&#36;n;&#36;m++) {
&#36;o = &#36;l[&#36;m][&quot;locate&quot;].&#36;l[&#36;m][&quot;name&quot;];
if (&#36;o==&#36;this->last_exist_dir) continue; // 如果为上级目录向下级目录复制,防止死循环
&#36;p = str_replace(substr(&#36;src_path, 0, -1), &#36;dst_path, &#36;o);
if (&#36;l[&#36;m][&quot;type&quot;]==0) {
&#36;sub_list[&#36;i+1][] = &#36;o;
if (!&#36;this->make_dir(&#36;p)) return false; // 对每一个子目录都予以建立
} else { // 对每一个文件进行复制
if (&#36;this->verify_file(&#36;o, &#36;p)) continue; // 如果目标与源完全相同,不再复制
if (!copy(&#36;o,&#36;p)!&#36;this->verify_file(&#36;o,&#36;p)) return &#36;this->error_occur(0x0009, &#36;o); // ----0x0009---- 文件移动失败
}
}
}
}
unset(&#36;i, &#36;j, &#36;k, &#36;l, &#36;m, &#36;n, &#36;o, &#36;p, &#36;sub_list);
return true;
} else {
if (!is_readable(&#36;src_path)) return &#36;this->error_occur(0x0006, &#36;src_path); // ----0x0006---- 源文件无权读取
if (&#36;this->verify_file(&#36;src_path,&#36;dst_path)) return true;
&#36;i = strrpos(&#36;dst_path, &quot;/&quot;);
&#36;dst_path = array(substr(&#36;dst_path, 0, &#36;i), substr(&#36;dst_path, &#36;i+1));
unset(&#36;i);
if (!&#36;this->make_dir(&#36;dst_path[0])) return false;
&#36;dst_path = implode(&quot;/&quot;, &#36;dst_path);
if (!copy(&#36;src_path,&#36;dst_path)!&#36;this->verify_file(&#36;src_path,&#36;dst_path)) return &#36;this->error_occur(0x0009, &#36;src_path);
return true;
}
}

function move(&#36;src_path=&quot;&quot;,&#36;dst_path=&quot;&quot;) {
if (!file_exists(&#36;src_path)) return &#36;this->error_occur(0x0003, &#36;src_path);
if (!&#36;dst_path=&#36;this->generate_realpath(&#36;dst_path)) return false;
if (is_dir(&#36;src_path)) {
&#36;this->last_exist_dir = &quot;&quot;;
if (!&#36;this->make_dir(&#36;dst_path)) return false;
&#36;src_path = str_replace(&quot;&quot;, &quot;/&quot;, realpath(&#36;src_path));
&#36;src_path = substr(&#36;src_path, -1)==&quot;/&quot; ? &#36;src_path : &#36;src_path.&quot;/&quot;;
&#36;sub_list = array(array(&#36;src_path));
for (&#36;i=0;&#36;i<count(&#36;sub_list);&#36;i++) {
if (!isset(&#36;sub_list[&#36;i])) break;
for (&#36;j=0,&#36;k=count(&#36;sub_list[&#36;i]);&#36;j<&#36;k;&#36;j++) {
&#36;l = &#36;this->list_dir(&#36;sub_list[&#36;i][&#36;j]);
if (!&#36;l) return &#36;this->error_occur(0x0003, &#36;sub_list[&#36;i][&#36;j]);
&#36;l = &#36;l[&quot;list&quot;];
for (&#36;m=0,&#36;n=count(&#36;l);&#36;m<&#36;n;&#36;m++) {
&#36;o = &#36;l[&#36;m][&quot;locate&quot;].&#36;l[&#36;m][&quot;name&quot;];
if (&#36;o==&#36;this->last_exist_dir) continue;
&#36;p = str_replace(substr(&#36;src_path, 0, -1), &#36;dst_path, &#36;o);
if (&#36;l[&#36;m][&quot;type&quot;]==0) {
&#36;sub_list[&#36;i+1][] = &#36;o;
if (!&#36;this->make_dir(&#36;p)) return false;
} else {
if (&#36;this->verify_file(&#36;o, &#36;p)) continue;
if (!copy(&#36;o,&#36;p)!&#36;this->verify_file(&#36;o,&#36;p)) return &#36;this->error_occur(0x0009, &#36;o);
if (!@unlink(&#36;o)) return &#36;this->error_occur(0x0004, &#36;o);
}
}
}
}
for(&#36;i=count(&#36;sub_list)-1;&#36;i>=0;&#36;i--)
for (&#36;j=0,&#36;k=count(&#36;sub_list[&#36;i]);&#36;j<&#36;k;&#36;j++)
if (strpos(&#36;this->last_exist_dir,&#36;sub_list[&#36;i][&#36;j])!==false) continue; // 对移动目标目录的上层目录,不予考虑删除
elseif (!@rmdir(&#36;sub_list[&#36;i][&#36;j])) return &#36;this->error_occur(0x0005, &#36;sub_list[&#36;i][&#36;j]);
unset(&#36;i, &#36;j, &#36;k, &#36;l, &#36;m, &#36;n, &#36;o, &#36;p, &#36;sub_list);
return true;
} else {
if (!is_readable(&#36;src_path)) return &#36;this->error_occur(0x0006, &#36;src_path);
if (&#36;this->verify_file(&#36;src_path,&#36;dst_path)) return true;
&#36;i = strrpos(&#36;dst_path, &quot;/&quot;);
&#36;dst_path = array(substr(&#36;dst_path, 0, &#36;i), substr(&#36;dst_path, &#36;i+1));
unset(&#36;i);
if (!&#36;this->make_dir(&#36;dst_path[0])) return false;
&#36;dst_path = implode(&quot;/&quot;, &#36;dst_path);
if (!copy(&#36;src_path,&#36;dst_path)!&#36;this->verify_file(&#36;src_path,&#36;dst_path)) return &#36;this->error_occur(0x0009, &#36;src_path);
if (@unlink(&#36;src_path)) return true;
else return &#36;this->error_occur(0x0004, &#36;src_path);
}
}
}
?>

  


 


关键字 本文所属关键字

相关 与本文相关文章

分类 所有文章关键字导航

源码编程相关

Java   Asp   PHP   .Net   XML   C/C++   CGI   VB   Jsp   J2ee   J2se   J2me   EJB   Servlet   Tomcat   Resin   Struts   Weblogic   Eclipse   ANT   GUI   JMS   Web servise   IDEA   Webphere   Hibernate   Spring   Jboss   Applet   Swing   Socket   Javamail   Perl   Ajax   P2P   安全   模式   框架   测试   开源   游戏

SQL数据库相关

My-SQL   Ms-SQL   Access   DB2   Oracle   Sybase   SQLserver   索引   存储过程   加密   数据库   分页   视图  

手机无线相关

3G   Wap   CDMA   GRPS   GSM   IVR   彩信   短信   无线   增值业务

网页设计制作相关

HTML   CSS   网页配色   网页特效   Javascript   VBscript   Dreamweaver   Frontpage   JS   Web   网站设计

网站建设推广相关

建站经验   网站优化   网站排名   推广   Alexa

操作系统/服务器相关

Windows XP   Windows 2000   Windows 2003   Windows Me   Windows 9.x   Linux   UNIX   注册表   操作系统   服务器   应用服务器

图形图像多媒体相关

Photoshop   Fireworks   Flash   Coreldraw   Illustrator   Freehand   Photoimpact   多媒体   图形图像

标准 网站致力的规范

Valid CSS!

无不良内容,无不良广告,无恶意代码

Valid XHTML 1.0 Transitional

creativecommons