Elaborate on PHP (excellent Version)

Source: Internet
Author: User
Tags array definition constant definition http file upload php development environment php operator
Detailed description of the basic information of PHP (essential edition) Author: Gao luofeng Press: Electronic Industry Press ISBN: 9787121201479 Release Date: May 2013 published on: 16: 388: 1-1 category: more about computers, more details about PhP (essential edition), computer books, PHP is the most ideal tool for developing web application systems, it has advantages such as ease of use, powerful functions, low cost, high security, fast development speed, and flexible execution. Since its publication, PHP (version 2nd) has become the preferred tool book for PHP learners. In order to allow readers to conveniently and accurately grasp the key and key points of PHP, and to make it popular as a PHP textbook for the university computer department, a special article entitled "elaborate on PHP essentials" was launched. A detailed description of PHP (essential edition) is based on a detailed description of PHP (2nd edition) and extracts the essence of the content, which is a technical point that must be mastered in PHP development. The book is designed to be practical and contains all the necessary technologies in PHP development. It provides an in-depth and detailed explanation of each of the listed knowledge points, along with a large number of classic instance codes, it also focuses on the application of PHP related technologies in actual web development. For new PHP application developers, "elaborate on PHP (essential edition)" is a good entry-level teaching material. The content is both practical and comprehensive, and all instances can be directly applied in development, with a large number of video tutorials, supporting teaching courseware, Chapter exercises, etc., readers can easily master the knowledge they have learned, especially suitable for teachers and students in colleges and universities as PHP teaching materials. Directory "elaborate on PHP (refined version) chapter 1 Lamp website construction 1st introduction to the Website: 11.1.1 Web Application Advantages 21.1.2 web 11.1 Internet 31.1.3 web development standard 41.1.4 understanding scripting language 51.1.5 understanding HTTP protocol 2.0 dynamic website development needs web component 101.2.1 client browser 101.2.2 hypertext markup language html121.2.3 stacked style sheet css131.2.4 client scripting programming language javascript131.2.5 Web Server 141.2.6 Server programming language 161.2.7 Database Management System 161.3 several mainstream web application platforms 171.3.1 comparison and Analysis of Web application development platform 181.3.2 comparison of dynamic website development platform technology 191.4 Web working principle 19.1.4.1 scenario 1: server without application server and database 191.4.2 Scenario 2: Web server with Application Server 211.4.3 scenario 3: Browser Access Server database 211.5 lamp website development combo overview 221.5.1 Linux operating system 221.5.2 Web Server apache231.5.3 MySQL Database Management System 241.5.4 PHP background scripting programming language 241.5.5 lamp Development Trend 25 Chapter 2nd from building your php development environment start 272.1 common PHP environment installation methods 272.1.1 Linux system source code package installation environment 272.1.2 Install Web work environment 282.1.3 build a learning PHP work environment 282.2 environment Installation for the operating system, select 292.2.1 for the website operation, select 292.2.2 for the website development, and select 292.3 for the website development. Install the integrated php development environment 302.3.1. Before installation, prepare 302.3.2 for the installation step 302.3.3 for environment testing. chapter 33 of PHP basic syntax 363.1 PHP application in Web development 363.1.1 start with understanding PHP 3 63.1.2 what can PHP do? 373.2 first PHP script program 393.3 PHP language mark 423.3.1 position where PHP code is embedded in HTML 433.3.2 interpretation start and end mark 443.4 command separator "Semicolon" 453.5 program comment 453.6 in the program uses the blank processing 473.7 variable 483.7.1 variable declaration 483.7.2 variable name 493.7.3 variable 513.7.4 variable reference value assignment 513.8 variable type 523.8.1 type introduction 523.8.2 boolean type (Boolean) 533.8.3 INTEGER (integer) 543.8.4 float (float or double) 553.8.5 string (string) 553.8.6 array (array) 573.8.7 object (object) 583.8.8 resource type (Resource) 583.8.9 null type 593.8.10 pseudo type description 593.9 mutual conversion between data types 603.9. 1 automatic type conversion 603.9.2 forced type conversion 613.9.3 type conversion details 623.10 constant 623.10.1 constant definition and use 623.10.2 constant and variable 633.11 PHP operator 633.11.1 Arithmetic Operator 643.11.2 string operator 663.11.3 value assignment operator 673.11.4 comparison operator 683.11.5 logic operator 693.11.6 bit operator 703.11.7 priority of other operators 733.11.8 operator 743.12 expression 75 chapter 75 PHP process control structure 4th branch structure 764.1.1 single condition branch structure (IF) 774.1.2 bidirectional condition branch structure (else clause) 784.1.3 multi-direction condition branch structure (elseif clause) 794.1.4 multi-direction condition branch structure (switch statement) 804.1.5 nest condition branch structure 824.2 loop structure 834.2.1 while statement 844.2.2 do... While loop 864.2.3 for statement 874.3 special process control statement 904.3.1 break statement 904.3.2 continue statement 914.3.3 exit statement 91 chapter 5th PHP function application 935.1 Function Definition 935.2 custom function 945.2.1 function declaration 945.2.2 function call 965.2.3 function parameter 975.2.4 function return value 985.3 PHP variable range 1005.3.1 local variable 1005.3.2 global variable 1015.4 declaration and application of various forms of PHP function 1035.4.1 Regular Parameter Function Limit 5.4.2 pseudo type parameter function 5.4.3 reference Parameter Function 1055.4.4 default Parameter Function 5.4.5 Variable Number Parameter Function 5.4.6 callback function 1085.5 use custom function library Chapter 111 PHP array and data structure 6th array classification 1126.1 array definition 1146.2.1 the method of directly assigning values declares array 1146.2.2 using array () create an array using the language structure. Statement 1176.3 of multidimensional array traversal 1196.3.1 use the for statement to traverse the array 1206.3.2 use the foreach statement to traverse the array 1226.4 predefined array 1256.4.1 server variable: $ _ server1266.4.2 environment variable: $ _ env1266.4.3 URL get variable: $ _ get1266.4.4 http post variable: $ _ post1_6.4.5 request variable: $ _ request1286.4.6 Http File Upload variable: $ _ files1286.4.7 HTTP cookies: $ _ cookie1296.4.8 session variable: $ _ session1296.4.9 global variable: $ globals129 Chapter 1 PHP Object-Oriented Programming 7th object-oriented introduction 1307.1.1 relationship between objects 1317.1.2 Object-Oriented Programming 1307.1 how to abstract a declaration of a class 1327.2.1 member attribute 1337.2.3 member method 1347.3 access 1377.3.3 special object reference "$ this" 1397.3.4 constructor and destructor 1417.4 encapsulation "1447.4.1" in object 1367.3.1 by class instantiation object 1367.3.1 1447.4.2 private member access 1457.4.3 _ set () and _ Get () method 1477.5 inheritance 1517.5.1 application of class inheritance 1527.5.2 access type control 1537.5.3 method of overloading the parent class in the subclass 1557.6 application of common keywords and magic methods 1587.6.1 final keywords 1587.6.2 use of the static keyword 1597.6.3 const keyword common method _ tostring () in class 1617.6.5 of the cloned object 1607.6.4 () 1627.6.6 _ call () method Application 1637.6.7 automatic loading class 164 chapter 8th string processing 1658.1 string processing introduction 1658.1.1 string processing method 1658.1.2 character string type characteristics 1668.1.3 variable parsing in double quotation marks summary 1678.2 commonly used string output functions 1678.3 common string formatting functions 1708.3.1 remove spaces and string filling functions 1718.3.2 string case-sensitive conversion 1728.3.3 HTML Tag-related string formatting 172 chapter 9th regular expressions 1779.1 Regular Expressions introduction 1779.1.1 select PHP Regular Expressions syntax rule for processing function library 1779.2 Regular Expressions 1789.2.1 demarcation character 1799.2.2 atom 179

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.