You are here: Re: internal server error for php url submit containing chinese on windows 2000 « All PHP « IT news, forums, messages
Re: internal server error for php url submit containing chinese on windows 2000

Posted by HansH on 08/05/05 17:06

<accessyou@gmail.com> schreef in bericht
news:1123043994.174584.178100@f14g2000cwb.googlegroups.com...
> A simple url submit containing only english characters are OK:
> http://www.abc.com/submit.php?msg=test
> If the value of msg is replaced with a chinese:
> http://www.abc.com/submit.php?msg=??
> Apache error:
> ======================
> [Wed Aug 03 12:04:00 2005] [error] [client xxx.xxx.xxx.xxx] (22)Invalid
> argument: couldn't create child process: 22: php-cgi.exe
> [Wed Aug 03 12:04:00 2005] [error] [client xxx.xxx.xxx.xxx] (22)Invalid
> argument: couldn't spawn child process: C:/PHP/php-cgi.exe
> ==============================­==========================
> **********
> I have placed the same php code on my webhosting server
> (which is a linux one) and there is no such error.
> What should be modified in my windows server.
>
Reading the http://www.apache.org/dist/httpd/CHANGES_2.0
an update to 2.0.40 or above may get you out of these troubles
Changes with Apache 2.0.40
*) Fix WinNT cgi 500 errors when QUERY_ARGS or other strings include
extended characters (non US-ASCII) in non-utf8 format. This brings
Win32 back into CGI/1.1 compliance, and leaves charset decoding up
to the cgi application itself. [William Rowe]

Reading further UTF-8 gets the looks of a mine field ... seen one, trapping
the other :-(
http://issues.apache.org/bugzilla/buglist.cgi?query_format=specific&order=relevance+desc&bug_status=__open__&product=&content=utf

There has been an issue with FireFox trashing UTF-8 urls too ( solved
Februari 2005 )
https://bugzilla.mozilla.org/show_bug.cgi?id=261934
HansH

 

Navigation:

[Reply to this message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация