[PHP, co? O! Denuevo ?]

Source: Internet
Author: User
[PHP, co? O! Denuevo ?] Once again! Why ??? Too many other users.

My career is awesome!

! Ánimo networks ¡


2014 Xin Xing PHP Tutorial Summer Edition

[Record] a beginner in PHP is on his way to PHP.


So let's first learn the most basic syntax!
 

The oldest code 23333333 is still garbled in Chinese output. The reason for the garbled characters is that browser cannot correctly index the file character set, so a header must be added.

Header ("Content-type: text/html; charset = utf-8 ");

Then there is another problem: the php code cannot be parsed after it is embedded into the html file.

Then, "by default, simple html cannot parse php"

This is a poor foundation. The php interpreter is on the server.


Sort out the process:

Enter the php file name in the browser → The WEB server (such as IIS or Apache) accepts the request

→ Send it to the PHP engine → The PHP engine processes data to generate HTML pages and return them to the WEB server

→ The WEB server then returns the page to the client browser

Well, because the environment is built using WAMP, it is Apache, and then the support for PHP is implemented through the module mod_php5.

PHP kernel exploration ?? Veda prototype

Underlying things ...... Difficult. Ah, I have learned SCM! It's not always windows. forget it ......

This is a person who only needs to output Hello world.

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.