摘要: 1.查看当前模式 httpd -lC:\wamp\bin\apache\Apache2.2.17\bin>httpd -lCompiled in modules: core.c mod_win32.c mpm_winnt.c http_core.c mod_so.c2.修改apache/c... 阅读全文
posted @ 2015-05-01 03:18 jzfan 阅读(312) 评论(0) 推荐(0) 编辑
摘要: 服务端配置1,发现原系统已安装rsync,就直接利用#rpm -qa | grep rsyncrsync-2.5.7-5.3E#ls /etc/xinetd.d/rsync/etc/xinetd.d/rsync2,主要是更改rsyncd.conf和 rsync这两个文件#mkdir /etc/rsy... 阅读全文
posted @ 2015-04-30 14:40 jzfan 阅读(821) 评论(0) 推荐(0) 编辑
摘要: 在PHP中,通过反射,可以方便地查找某个自定义函数所在的文件名,便于调试。同时还能得到该函数需要传递的参数。Reflection::export直接上代码:输出如下:Function [ function SafeHtml ] { @@ D:\wamp\www\libs\global.func_... 阅读全文
posted @ 2015-04-29 23:14 jzfan 阅读(348) 评论(0) 推荐(0) 编辑
摘要: find /path -type f -exec chmod 644 {} ;find /path -type d -exec chmod 755 {} ;网站目录文件权限的设置对网站的安全至关重要,下面简单介绍网站目录文件权限的基本设定。我们假设http服务器运行的用户和用户组是www,网站用户为... 阅读全文
posted @ 2015-04-29 11:25 jzfan 阅读(483) 评论(0) 推荐(0) 编辑
摘要: 查看进程数量ps aux | grep httpd | wc -l查看yum安装yum list installed | grep php& 将指令丢到后台中去执行[ctrl]+z 將前台任务丟到后台中暂停jobs 查看后台的工作状态fg %jobnumber 将后台的任务拿到前台来处理bg %jo... 阅读全文
posted @ 2015-04-29 11:24 jzfan 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-04-27 22:41 jzfan 阅读(405) 评论(0) 推荐(0) 编辑
摘要: !doctype html> Tab 标题一 标题二 标题三 title some words .......... 阅读全文
posted @ 2015-04-23 08:40 jzfan 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 111111111 22222222 333333333 aaaaaaaaaaaa bbbbbbbbb ccccccccccccccc 竖版 111111111 22222222 333333333 aaaaaaaaaaaaaaaaaaaaaaaaaaa... 阅读全文
posted @ 2015-04-22 20:44 jzfan 阅读(290) 评论(0) 推荐(0) 编辑
摘要: HTML:图片图片图片图片1234css:*{margin:0; padding:0; list-style:none; }body{ background:#fff; font:normal 12px/22px 宋体; }img{ border:0; }a{ text-decoration:non... 阅读全文
posted @ 2015-04-07 23:27 jzfan 阅读(257) 评论(0) 推荐(0) 编辑
摘要: HTML代码 第一幅图片第二幅图片第三幅图片第四幅图片CSS:body { background: rgb(204, 204, 204);}.FocusPic { margin: 10px; width: 500px; height: ... 阅读全文
posted @ 2015-04-07 20:52 jzfan 阅读(191) 评论(0) 推荐(0) 编辑