薪水的来历。
薪水,即工资,它的来历却与食盐有关。 罗马帝国强盛时期,...
- 娱乐乐园,
作者 pingadmin 发布于 0000-00-00 分类:php基础编程
Apache如何设置才能使用带中文值的变量
如 http://localhost/test.php?test=测试
我搜索过了,没找到,请村里的兄弟帮一下。
逛论坛交流:设置Apache???
唉! 顶顶。。。
不要设置
这个和APACHE无关,在PHP.INI里面的 register_globals=on就好了
要不就加
AddDefaultCharset ??????
在PHP.INI里面的 register_globals=on就好了
这个已经是设成On了, 我不是说变量读不到,是说在网址里有中文时会出不来
如网址为http://localhost/test.php?test=测试 时会出现下面出错信息
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, purple@fjdns.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
--------------------------------------------------------------------------------
Apache/2.0.44 (Win32) Server at 192.168.0.68 Port 80
你的那个文件在不在啊?
文件是在,这程序是以前写的,所以在查询的时候还有些用中文值来判断。
不要用cgi方式安装php。用module方式安装即可
怎么装, 说说。
谢谢!!
编译php的时候用
./configure --with-apache=/usr/local/apache (静态模块)
或者
./configure --with-apxs=/usr/local/apache/bin/apxs (动态模块
up
老大,详细说说。谢谢
???还要怎么详细?
10 条回复
回复