skip to main
|
skip to sidebar
TotO's way.
Wednesday, October 13, 2010
Warning: gethostbyaddr() [function.gethostbyaddr]: Address is not a valid IPv4 or IPv6 address
在本地安装了服务器,测试对比了下,最后发现是远程服务器上全局变量没有开启 register_globals=off ,不过那服务器上的配置我也改不了,后来倒是在网上找到可以在源文件中加入如下代码来解决问题:
(可以更改配置的话,是在服务器php.ini文件中。
至于register_globals=on与register_globals=off的区别与利弊,在下就不在这边发表愚见了。
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Labels
C#
(4)
WordPress
(5)
Blog Archive
►
2011
(3)
►
April
(2)
►
March
(1)
▼
2010
(5)
▼
October
(2)
如何:将权限授予文件夹和程序集
Warning: gethostbyaddr() [function.gethostbyaddr]:...
►
June
(1)
►
May
(2)
►
2009
(12)
►
December
(7)
►
January
(5)
►
2008
(3)
►
November
(1)
►
September
(2)
No comments:
Post a Comment