InfoQ

交流

讨论:设置Apache???

作者 pingadmin 发布于 0000-00-00 分类:php基础编程

Apache如何设置才能使用带中文值的变量

http://localhost/test.php?test=测试

我搜索过了,没找到,请村里的兄弟帮一下。



逛论坛交流设置Apache???

加入书签
digg+,
reddit+,
del.icio.us+,
dzone+

10 条回复

回复

唉! 顶顶。。。 发表人 pingadmin 发表于 12月02日
不要设置 这个和APACHE无关,在PHP.I.. 发表人 yuguanglou 发表于 12月02日
在PHP.INI里面的 register_globals=on就.. 发表人 pingadmin 发表于 12月02日
你的那个文件在不在啊? 发表人 yuguanglou 发表于 12月02日
文件是在,这程序是以前写的,所以在查.. 发表人 pingadmin 发表于 12月02日
不要用cgi方式安装php。用module方式安.. 发表人 q3boy 发表于 12月02日
怎么装, 说说。 谢谢!! 发表人 pingadmin 发表于 12月02日
编译php的时候用 ./configure --with.. 发表人 q3boy 发表于 12月02日
up 老大,详细说说。谢谢 发表人 pingadmin 发表于 12月02日
???还要怎么详细? 发表人 q3boy 发表于 12月02日
  1. 返回顶部

    Re: 设置Apache???

    2003年12月02日 发表人 pingadmin

    唉! 顶顶。。。

  2. 返回顶部

    Re: 设置Apache???

    2003年12月02日 发表人 yuguanglou

    不要设置
    这个和APACHE无关,在PHP.INI里面的 register_globals=on就好了

    要不就加
    AddDefaultCharset ??????

  3. 返回顶部

    Re: 设置Apache???

    2003年12月02日 发表人 pingadmin

    在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

  4. 返回顶部

    Re: 设置Apache???

    2003年12月02日 发表人 yuguanglou

    你的那个文件在不在啊?

  5. 返回顶部

    Re: 设置Apache???

    2003年12月02日 发表人 pingadmin

    文件是在,这程序是以前写的,所以在查询的时候还有些用中文值来判断。

  6. 返回顶部

    Re: 设置Apache???

    2003年12月02日 发表人 q3boy

    不要用cgi方式安装php。用module方式安装即可

  7. 返回顶部

    Re: 设置Apache???

    2003年12月02日 发表人 pingadmin

    怎么装, 说说。

    谢谢!!

  8. 返回顶部

    Re: 设置Apache???

    2003年12月02日 发表人 q3boy

    编译php的时候用
    ./configure --with-apache=/usr/local/apache (静态模块)
    或者
    ./configure --with-apxs=/usr/local/apache/bin/apxs (动态模块

  9. 返回顶部

    Re: 设置Apache???

    2003年12月02日 发表人 pingadmin

    up

    老大,详细说说。谢谢

  10. 返回顶部

    Re: 设置Apache???

    2003年12月02日 发表人 q3boy

    ???还要怎么详细?




  11. 我有话要讲:(可以匿名发表, 发广告的有多远请滚多远!!!)

    昵称: 请输入验证码:


抢着回答

这半年以来

半年了, 第一个月,过是很累, 第二个月,开始心中不安, ...

我来提供php中文手册(半英半中)英语好...

翻译好了再拿出来和大家分享!

这个date()函数怎么用啊?

代码: <?php $a="030630234146"; $b=date("y年m月...

在线等

如果实现打开一个网页一段时间后,弹出另一个网页,谢谢我在线等

html编辑器

请问那位有html 的编辑器

为什么我的postnuke在“主题管理”那块...

错误如下: Warning: Invalid argument supplied for forea...

求一段代碼!

我想實現一個動一下下拉框里的先項,旁邊可以顯示它的內容. ...

今天俺学学习PHP了!新手上路

呵呵! 还希望这里的人关照关照!, 我感觉在这里的人都是高人! 还希...

谁用php做过超市管理系统

如题

Php技巧性问题

如何通过PHP和MYSQL 实现下拉列表的自动填充。 比如在学历...

[]