PHP overview
17 minutes07 secondsFive basic concepts
28 minutes38 secondsAdvantages of PHP
03 minutes09 secondsweb introduction
05 minutes08 secondsphpstudy installation access server
13 minutes46 secondsCommonly used commands
09 minutes08 secondsInternet communication principles
16 minutes04 secondsDNS resolution
07 minutes03 secondsvirtical list
15 minutes30 secondsvirtual directory 2
03 minutes12 secondsReview of changing virtual directories
13 minutes39 secondsPermissions exercise
05 minutes34 secondsChange default home page
05 minutes03 secondsChange port occupancy
11 minutes27 secondsphp delimiter
10 minutes14 secondsVirtual host configuration
16 minutes16 secondsThe difference between sites, virtual directories and virtual hosts
04 minutes12 secondsPHP is a compiled language
13 minutes12 secondsoutput statement
06 minutes27 secondsvariable, mutable variable
13 minutes30 secondsvariable passing
13 minutes15 secondsDestroy variables
05 minutes16 secondsreview
Define constants
Predefined constants, magic constants
Data type - integer
23 minutes03 secondsData type - floating point number
Data type - boolean, string
Data type - array
14 minutes03 secondsData type - array subscript
20 minutes45 secondsData types - special types
04 minutes00 secondsData type - type conversion
15 minutes25 secondsarithmetic operators
12 minutes11 secondscomparison operators, logical operators
10 minutes20 secondsAssignment, string concatenation, error suppression, ternary operator, null merging
16 minutes47 secondsGrammar of Judgment, Judgment of Leap Year
25 minutes54 secondsJudging results.mp4
08 minutes15 secondschange color
11 minutes45 secondsreview
Homework from the previous lecture
loop_for
21 minutes26 secondsLoop_while, do-while
05 minutes28 secondsExample of adding from 1 to 100
12 minutes41 secondsmulti-statement expression
06 minutes17 secondsExample question double cycle
13 minutes34 secondsforeach loop
05 minutes37 secondsJump statement
14 minutes36 secondsalternative syntax
21 minutes14 secondsfunction definition
05 minutes29 secondsvariadic function
15 minutes04 secondsanonymous function
01 minutes16 secondsParameter passing
13 minutes37 secondsParameter default value
11 minutes01 secondsThe number of parameters does not match
05 minutes25 secondsParameter number constraints
10 minutes39 secondsParameter type constraints
return
20 minutes05 secondsreview
Assignment 1
Assignment 2
variable scope
24 minutes21 secondsConstants have no concept of scope
02 minutes30 secondsstatic variable
10 minutes15 secondsuse in anonymous function
08 minutes03 secondsrecursion
How to include files
21 minutes53 secondsContains the path to the file
14 minutes43 secondsError handling
21 minutes06 secondsCustom error handling
20 minutes17 secondsFolder operations
28 minutes03 secondsreview
Write string to file
12 minutes31 secondsfile_get_contents、fopen
15 minutes02 secondsOpen a file for reading and appending
06 minutes43 secondsWhether the file exists, whether the file exists, delete the file, binary reading
23 minutes13 secondsIntroduction to get and post
18 minutes50 secondsServer accepts data
15 minutes40 seconds$_REQUEST
Parameter passing
File domain, enctype attribute
$_FILES
File Upload
19 minutes43 secondsOptimize file names
Verify format
File upload_verification
File upload_upload
02 minutes46 secondsFile upload_upload 2
18 minutes38 secondsreview
08 minutes51 seconds