兄弟. 我搞定了. 换了个环境 phpstudy 好了. 确实是 环境的问题. 告诉你一声.
wamp5 太垃圾了 dede的ampz 环境不能在 win8 安装. easyphp 在win8 也不行.
在wmp5 下
dede 问答模块 预览白板 修改php 后(D:\WWW\ask\data\scores.inc.php)
注释掉下面的函数
function transport()
{ /*
global $cfg_basehost;
$path = $cfg_basehost.'/'.APPNAME."/?ct=index&ac=scores";
$host = preg_replace('#http://#','',$cfg_basehost);
$str = "";
$fp = fsockopen($host,80,$errno,$errstr,30);
if(!$fp)
{
die("service.dedecms.com".$errstr.$errno);
}else{
fputs($fp, "POST $path HTTP/1.1\r\n");
fputs($fp, "Host: $host\r\n");
fputs($fp, "Content-type: application/x-www-form-urlencoded\r\n");
fputs($fp, "Content-length: ".strlen($str)."\r\n");
fputs($fp, "Connection: close\r\n\r\n");
fputs($fp, $str."\r\n\r\n");
fclose($fp);
}*/
}
注释掉这个函数后 .就能打开 预览 问答页面了. 但是 却不能提交问题 .
兄弟. 我搞定了. 换了个环境 phpstudy 好了. 确实是 环境的问题. 告诉你一声.
wamp5 太垃圾了 dede的ampz 环境不能在 win8 安装. easyphp 在win8 也不行.
delphi lazarus opengl
网页操作自动化, 图像分析破解,游戏开发