"New" in PHP-php Tutorial

Source: Internet
Author: User
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 --------------------

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.