PHP newbie & nbsp; today I encountered a strange problem & nbsp; in the request parameter & nbsp; the word "new" & nbsp; IE will report "invalid data" & nbsp; Firefox will not report errors. why is PHP popular? New? The word "new" in wonderful PHP
I am a beginner in php. today I encountered a strange problem. The request parameter contains the word "new ".
IE will report "invalid data" Firefox will not report an error
Why is it so popular?
PHP? New? Qihoo
Share:
------ Solution --------------------
If you use a url to pass Chinese characters, remember to urlencode first at any time. Otherwise, you may cry when an error occurs.
This involves four layers: browser recognition, browser transfer, server recognition, and server transfer to php. if any of the four encoding links is incorrect, the parameters cannot be identified.
Latest article"
Changed
"
Do the same in other places, that is, use x. php? When transmitting x = X, make sure that the value of X is encoded by urlencode, especially in Chinese.
------ Solution --------------------