hello.php?a=1&b="你好" apache提示: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.Please contact the server administrator, [email protected] 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.[error log]里说: [Fri Sep 27 13:18:45 2002] [error] [client 127.0.0.1] (22)Invalid argument: couldn't create child process: 22: php.exe, referer: http://127.0.0.1/html/default.php [Fri Sep 27 13:18:45 2002] [error] [client 127.0.0.1] (22)Invalid argument: couldn't spawn child process:
couldn't spawn child process couldn't create child process 这不都告诉你了吗?卸载你的 Apache 2.x 装上 Apache 1.x 差不多就没问题了
apache提示:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.Please contact the server administrator, [email protected] 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.[error log]里说:
[Fri Sep 27 13:18:45 2002] [error] [client 127.0.0.1] (22)Invalid argument: couldn't create child process: 22: php.exe, referer: http://127.0.0.1/html/default.php
[Fri Sep 27 13:18:45 2002] [error] [client 127.0.0.1] (22)Invalid argument: couldn't spawn child process:
couldn't create child process
这不都告诉你了吗?卸载你的 Apache 2.x 装上 Apache 1.x 差不多就没问题了
http://www.php.net/manual/zh/faq.html.php#faq.html.encoding
我的程序大致是这样的:
hello.php
<a href=hello.php?j=你好>显示汉字</a>
<br>
<? echo $j;?>
好像在linux下面没问题。apache是1.0的,2.0没试过
你的方法在我的机器上不能通过,thanks
<?
$name='望远镜';
$send_name=base64_encode($name);
?>
hello?a=1&b=<?php echo $send_name;?>
使用的时候再解码
<?
$name=base64_decode($send_name);
?>
你试试吧,如果好用,给我加分!
另外,以GET方法提交的表单,都自动进行编码了的(这个不是PHP干的)