Home >Backend Development >PHP Tutorial >PHP Notes (PHP Chapter)

PHP Notes (PHP Chapter)

WBOY
WBOYOriginal
2016-08-08 09:28:221107browse

After learning HTML and CSS, it’s finally time to start learning PHP! The paving the way ahead is only for a smooth road ahead!

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 code learning website:

  • Webmaster’s Home
  • Source code paradise
  • Script Home
  • Source code home
  • A5 source code

PHP Overview:

  • PHP (Hypertext Perprocessor) super text preprocessor
  • PHP is a scripting language that is executed on the server side and embedded in HTML documents
  • It is a website development language (B/S structure)
  • Supports most operating systems, databases, and servers
  • Open Source

PHP development steps:

  1. Write source files
  2. Upload the original file to the web server
  3. Use your browser to access

PHP markup format

  • XML style: (recommended)
  • Short style: (need to enable short_open_tag in php.ini)
  • asp style: <% ... %> (need to enable asp_tags in php.ini)
  • Script style:

※PHP encoding must use utf-8 BOM-free format, because other formats will have additional output, causing the header function to report an error

The above introduces the PHP notes (PHP chapter), including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn