添加留言
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]
               

 
WENWEN
2010-5-24 21:07
Apache启动失败,请检查相关配置。√MySQL5.1已启动。   就算把IE,xunlei都关了,怎么也还是这样啊?
tomaer Email Homepage
2010-5-24 17:45
http://blog.s135.com/post/200/
脚本无法下载哦
燕青 Email Homepage
2010-5-24 14:24
来过 看看
assad Email Homepage
2010-5-23 17:08
久仰张大哥大名,一直在你的网站上学习了很多东西,关于Nginx的。我很喜欢这个 Webserver!你的博客写的太好了!
黄山酒店 Homepage
2010-5-21 15:48
电脑我还没入门,期待能早日读懂你们的语言。
cg0878 Email
2010-5-21 13:47
错误应用程序 httpd.exe,版本 2.2.3.0,错误模块 php5apache2_2.dll,版本 5.2.0.0,错误地址 0x0000122c

老提示这个错误,如何解决
无聊最寂寞
2010-5-21 11:37
张老师 请注意:nginx现0day漏洞 上传图片可入侵百万服务器  希望你能通过你的博客  向广大nginx管理员提醒!

http://www.80sec.com/nginx-securit.html
张宴 回复于 2010-5-21 20:14
谢谢提醒
yueguang8421
2010-5-20 22:02
您好张老师,我有个问题想请教您,就是dr.com共享上网,客户机怎么设置啊?我按照您说的改了ip地址,但还是不行,为什么呢?
我的QQ849236690,邮箱是woshiyueguang001@163.com
谢谢张老师。
cin
2010-5-20 19:14
APMServ5.2.6加设了dedecms

safe_mode Off [×]On(本系统不支持在非win主机的安全模式下运行)

请问要怎么处理
为blog添加回复自动生成html的功能: Homepage
2010-5-20 18:23
为blog添加回复自动生成html的功能:

编辑inc/mod_visit.php 文件
找到 else { //Deal with ajax
然后再下面添加:
$site="http://book.shafa.in";
///make html
$postida=str_replace("'","",$plusquery_c);
$postida=str_replace(",","",$postida);
$deldira="post/".$postida;
$deldirs="post/";
if ($deldira != $deldirs) //is post root
{
if(is_dir($deldira)) removeDir($deldira);
$cur_chapcont=file_get_contents($site."/post/".$postida);
if(!is_dir($deldira)) mkdir($deldira);
$fp=fopen("post/".$postida."/index.html","w+");
fwrite($fp,$cur_chapcont);
if ($fp) fclose($fp);
}
///end make html

在文件末尾添加:
//删除目录  
function removeDir($dirName)  
{  
$result = false;  
if(! is_dir($dirName))  
{  
trigger_error("目录名称错误", E_USER_ERROR);  
}  
$handle = opendir($dirName);  
while(($file = readdir($handle)) !== false)  
{  
if($file != '.' && $file != '..')  
{  
$dir = $dirName . DIRECTORY_SEPARATOR . $file;  
is_dir($dir) ? removeDir($dir) : unlink($dir);  
}  
}  
closedir($handle);  
$result = rmdir($dirName) ? true : false;  
return $result;  
}
分页: 2289/2376 第一页 上页 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 下页 最后页