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

 
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;  
}
135797135 Email
2010-5-16 15:28
1)换了电脑,或不换电脑,Apache 启动总是失败的解决方法是什么?
2)辛苦了几个月制作的网站,总是404错误应如何解决?
135 Email
2010-5-14 10:19
您好:在使用APMServ 5.2.6的过程中,经常发现服务器出错,进不去后台,最多时是404错误,辛苦了一个月做好的网站废了,请问应怎么修改?请回复email,谢谢
                                                               网站爱好者  王
kangte Email
2010-5-14 09:47
在你的飞信api接口,短信内容中不能有空格,否则就会报错,怎么解决
12345
2010-5-14 00:35
救教PHP使用中文路径的方法
E:\APMServ5.2.6\www\htdocs\测试\test.php打开错误,请问如何做才能解决此问题
王先进 Homepage
2010-5-8 16:12
张老大,我的博客地址已变为http://www.wangxianjin.com,原来的cn域名已经不用了。有空改下啊。
abarler Email
2010-5-8 14:23
我按照您的教案《Nginx 0.8.x + PHP 5.2.13(FastCGI)搭建胜过Apache十倍的Web服务器(第6版)》。到配置php-fpm后,启动pghp-fpm出错,出错信息为:at least one pool section must be specified in config file。
  我的配置文件是拷贝过去的。请指点一下。
cong
2010-5-7 21:16
你好,张宴大哥,我这里有个问题需要请教你一下

我现在电信有个mysql数据库,然后移动也有个mysql数据库
他们之间主要是对电信用户和移动用户的一个微博数据库的实时同步
虽然用mysql的 mm模式可以实现,但就怕延迟或者其他不确定因素造成数据不同步

不知道还有什么好方法,就是两个机房的实时数据库同步
分页: 2543/2630 第一页 上页 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 下页 最后页