500 Internal Server Error

huqian2003 2005-10-27 04:31:50
win2k + apache2.0.54 + php4.4.0

为什么使用GET方式发送中文数据的时候会出现 500 Internal Server Error 的错误

例如:
这个可以成功访问 http://127.0.0.1/test.php?param=aaa
这个就出现500错误 http://127.0.0.1/test.php?param=中国

打开apache的错误日志error.txt
显示错误为
(22)Invalid argument: utf8 to ucs2 conversion failed on this string: REDIRECT_QUERY_STRING=param=\x8f\xe3\x8aC

应该如何解决呢
...全文
176 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
Meteorlet 2005-10-27
  • 打赏
  • 举报
回复
<?php="http://127.0.0.1/test.php?param=". urlencoded("中国");?>
surfchen 2005-10-27
  • 打赏
  • 举报
回复
http://www.s9y.org/forums/viewtopic.php?t=2596

21,886

社区成员

发帖
与我相关
我的任务
社区描述
从PHP安装配置,PHP入门,PHP基础到PHP应用
社区管理员
  • 基础编程社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧