Why does Sina blog do this?

Source: Internet
Author: User
Why does Sina blog do this? This post was last edited by lghyt1 from 2013-12-1620: 44: 05 & lt ;? Php & nbsp; var & nbsp; $ abc10; & nbsp; function & nbsp; db (){}? & Gt; why does the Sina blog do this when it is directly copied to the Sina blog for storage?

This post was last edited by lghyt1 at 20:44:05, January 16 ,.


Var $ abc = 10;
Function db (){
}
?>

When the above information is directly copied to the Sina blog for storage, it will not be displayed in the blog, but it will be nice to remove the php mark. Why does Sina do this?
Not only that, but there is no echo in the blog'
';, Dizzy

Share: More


------ Solution --------------------
If someone posted a comment on your website and wrote SQL code in the comment box to operate your database, would you agree? If you post a blog post and write a js code in it to create a pop-up window, will your code be directly run when the page is opened ~ This is for the sake of website security

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.