<P><FONT color=#91d52b>安装完discuz论坛时出现Please set magic_quotes_gpc = On in your php.ini.的解决方法:
请修改 include/common.php
discuz2的Please set magic_quotes_gpc = On in your php.ini错误解决
用0610版的common.php
或把include/common.php这一句删了
if(!get_magic_quotes_gpc()) {
exit('Please set magic_quotes_gpc = On in your php.ini.');
}
重新覆盖上传、刷新即可。
该空间遇到中文的characters会有乱码,我的处理方法为在Discuz!的config.php文件中的51行处把:
$headercharset = 0; // 强制设置字符集, 0=否, 1=是. 乱码时使用
改成:
$headercharset = 1; // 强制设置字符集, 0=否, 1=是. 乱码时使用
就行了。<!-- / message --></FONT></P></DIV>
<P>我的怎么还是不行
<P><a href="http://dhost.info/nosky/bbs/" target="_blank" >http://dhost.info/nosky/bbs/</A>
<P>我已经按照上面的说明改了呀?怎么回事?</P>
<P><FONT color=#000000>“discuz2的Please set magic_quotes_gpc = On in your php.ini错误解决”<FONT color=#ff0033>怎么解决</FONT>?</FONT></P> haohao <P>我的可以,但是觉得速度不是很快,</P><P><a href="http://dhost.info/guoerwei" target="_blank" >http://dhost.info/guoerwei</A></P> 这个我也不知道了....
[原创]老空间/php/mysql/ftp/100m/我整理的最完整
<P>this is a very alpha page of the upcomingfree hosting service DeluXe Host !
Here's What You Get:
- 100MB Webspace
- 300GB real bandwidth
- full FTP access
- php + mysql
- you're allowed to have downloads
- less ads (only 1 popup per visitor)
- more bandwidth or space on request
申请地址:
<a href="http://66.90.103.17/index.php?l=s" target="_blank" >http://66.90.103.17/index.php?l=s</A> 或 <a href="http://dhost.info/index.php?l=s" target="_blank" >http://dhost.info/index.php?l=s</A>
你的二级域名
点submit
你的名字:(我填的是“yan tian”)
你的邮箱:
点submit
然后收信去吧!
注意你的邮箱里的激活地址有错误,可能是空间商的IP地址和它提供的顶级域名没绑定,没关系,你从<a href="http://66.90.103.17/index.php?l=a" target="_blank" >http://66.90.103.17/index.php?l=a</A> 或 <a href="http://dhost.info/index.php?l=a" target="_blank" >http://dhost.info/index.php?l=a</A> 这里登陆激活,用它提供的密码激活即可;
接着再去邮箱收信,我的:
dhost.tk account activation successfull
Notice: Don't use your account for file storage or pure download sites or it will be deleted!
You're allowed to have downloads but never link from an other host to them!
account information:
your adress is: <a href="http://dhost.hopto.org/cn999/" target="_blank" >http://dhost.hopto.org/cn999/</A>
login information:
ftp: dhost.hopto.org
username: cn999
password: ******
dhost.tk team
这个不用我说了吧,同样的,它给你的网址和FTP根本无法链接,你把dhost.hopto.org域名转换成IP:66.90.103.17或dhost.info或cgml.uni.cc即可登陆。即:
dhost.tk account activation successfull
Notice: Don't use your account for file storage or pure download sites or it will be deleted!
You're allowed to have downloads but never link from an other host to them!
account information:
your adress is: <a href="http://66.90.103.17/cn999/" target="_blank" >http://66.90.103.17/cn999/</A>
或<a href="http://dhost.info/cn999/" target="_blank" >http://dhost.info/cn999/</A> login information:
ftp: 66.90.103.17或dhost.info或cgml.uni.cc建议用66.90.103.17
username: cn999
password: ******
dhost.tk team
如果是这样,这个空间应该可以绑定顶级域名的,可惜有点慢。
mysql数据库的添加方法:
从<a href="http://66.90.103.17/" target="_blank" >http://66.90.103.17/</A> 或 <a href="http://dhost.info/或" target="_blank" >http://dhost.info/</A>边的登陆;
上面的三个筐你可以更改密码
原密码
现在的密码
再输入现在的密码
建立数据库直接点crert mysql database建即可,出来的画面有三行字,这就是你的数据库的信息了:
dbhost: localhost(数据库主机)
dbuser: cn999 (数据库用户名)
db: cn999(数据库名)
dbpass: ****** (数据库密码一把和你的FTP密码一样)
这个空间好像对中文显示不支持,你可以点击浏览器查看-源码-简体中文即可显示正常。
我的演示:
<a href="http://66.90.103.17/cn999/" target="_blank" >http://66.90.103.17/cn999/</A> 或<a href="http://dhost.info/cn999/" target="_blank" > http://dhost.info/cn999/</A> </P>
<P>ofstare论坛演示:(mysql版)
<a href="http://66.90.103.17/cn999/bbs/" target="_blank" >http://66.90.103.17/cn999/bbs/</A> 或<a href="http://dhost.info/cn999/bbs/" target="_blank" >http://dhost.info/cn999/bbs/</A></P>
<P>newvbb论坛演示(mysql版):
<a href="http://66.90.103.17/cn999/vbb/" target="_blank" >http://66.90.103.17/cn999/vbb/</A> 或<a href="http://dhost.info/cn999/vbb/" target="_blank" > http://dhost.info/cn999/vbb/</A> </P>
<P>探针<a href="http://66.90.103.17/wdmj/php.php" target="_blank" >http://66.90.103.17/wdmj/php.php</A> 或<a href="http://dhost.info/wdmj/php.php" target="_blank" >http://dhost.info/wdmj/php.php</A> </P>
<P>这个就是所谓的dhost.tk ,论坛里原先有的,但按照以前的攻略根本无法申请,,特在此提出修改。。</P>
<P><FONT color=#91d52b>安装完discuz论坛时出现Please set magic_quotes_gpc = On in your php.ini.的解决方法:
请修改 include/common.php
discuz2的Please set magic_quotes_gpc = On in your php.ini错误解决
用0610版的common.php
或把include/common.php这一句删了
if(!get_magic_quotes_gpc()) {
exit('Please set magic_quotes_gpc = On in your php.ini.');
}
重新覆盖上传、刷新即可。
该空间遇到中文的characters会有乱码,我的处理方法为在Discuz!的config.php文件中的51行处把:
$headercharset = 0; // 强制设置字符集, 0=否, 1=是. 乱码时使用
改成:
$headercharset = 1; // 强制设置字符集, 0=否, 1=是. 乱码时使用
就行了。<!-- / message --></FONT></P>
[此贴子已经被作者于2004-6-17 10:59:39编辑过]
;P