[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.