After learning HTML and CSS, finally began to learn PHP! The front cushion is only for the posterior smooth!
PHP Environment setup:
The environment commonly used in enterprises is: linux+apache+mysql+php
The learning environment is: windows+apache+mysql+php
Tools:
- Apache 2.4.4
- MySQL 5.6.23
- PHP 5.5.22
Installation Tutorial: PHP 2014.9.5 Installation Tutorial
PHP Source Learning Website:
- Webmaster's Home
- SOURCE Paradise
- Home of the script
- Source of the Home
- A5 Source
PHP Overview:
- PHP (hypertext perprocessor) Super text preprocessor
- PHP is a scripting language for embedded HTML documents executed on the server side
- is a website development language (b/s structure)
- Supports most operating systems and databases, servers
- Open source
PHP Development steps:
- Writing source files
- Upload the original file to the Web server
- Access using a browser
PHP markup Format
- XML style: (recommended)
- Short style: (need to open Short_open_tag in php.ini)
- ASP style: <%%> (need to turn on asp_tags in php.ini)
- Scripting style:
※php encoding must use Utf-8 no BOM format, because other formats will have additional output, resulting in header function error
The above describes the PHP Note (PHP), including aspects of the content, I hope that the PHP tutorial interested in a friend helpful.