Finally, I found the cause of the attack.

Source: Internet
Author: User
In the past, PHP was always hit, and the confidence in learning was greatly affected. Today, we have no intention of finding the cause of the blow. Write down to warn yourself. When I used to learn PHP, I occasionally copied some code from the Internet and pasted it directly to the file for running. Sometimes I encountered some files. Others on the Internet said it was okay, but how did I run it here?

In the past, PHP was always hit, and the confidence in learning was greatly affected. Today, we have no intention of finding the cause of the blow. Write down to warn yourself. When I used to learn PHP, I occasionally copied some code from the Internet and pasted it directly to the file for running. Sometimes I encountered some files. Others on the Internet said it was okay, but how did I run it here?

In the past, PHP was always hit, and the confidence in learning was greatly affected. Today, we have no intention of finding the cause of the blow. Write down to warn yourself.

When I used to learn PHP, I occasionally copied some code from the Internet and then pasted it directly to the file for running. Sometimes I encountered some files. Others on the Internet said it was okay, however, when you run the program on your own, an error is reported. You cannot find the syntax when you view the code repeatedly. However, you cannot run the program. Over time, you may suspect that it is a PHP problem and the program cannot run, confidence is also affected. Of course, you cannot continue learning. So now I feel like I am a beginner.

Today, as usual, I copied the code from the Internet and ran it on my computer. The Code does not seem to have any problems at all. Even syntax highlighting is normal and cannot run, there is no way to do it. I did not expect that the code I manually typed would be normal. It reminds me of the code that is not worth the candle, it must be because the webpage encoding is not consistent with the local encoding. When php is running, it will cause parsing errors.

In the future, we will try our best to do a thorough job. All the code will be typed on our own, and it will be difficult for anyone to help me.

Original article address: I finally found the cause of the attack. Thank you for sharing it with me.

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.