: This article mainly introduces PHP notes (PHP). If you are interested in PHP tutorials, refer to it. After learning HTML and CSS, I finally want to start learning PHP! The above preparations are only for the smooth road!
PHP environment construction:
Environments commonly used by enterprises are: 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 code learning website:
- Webmaster's house
- Source code heaven
- Foot home
- Source code home
- A5 source code
PHP overview:
- PHP (Hypertext Perprocessor) Super text preprocessor
- PHP is a script language for embedding HTML documents on the server.
- Is a website development language (B/S structure)
- Supports most operating systems, databases, and servers
- Open source
PHP development steps:
- Compile source files
- Upload the original file to the web server
- Access through a browser
PHP tag format
- XML style: (Recommended)
- Short style: (You need to enable short_open_tag in php. ini)
- Asp style: <%... %> (you need to enable asp_tags in php. ini)
- Script style: