PHP Masterclass: Regular Expressions, Include/Require & File Handling Made Easy
Code With Keerthana
0:00 / 0:00
PHP Masterclass: Regular Expressions, Include/Require & File Handling Made Easy
27 просмотров · 2 недели назад
Code With Keerthana
27 просмотров · 2 недели назад
Welcome to the channel! 🚀
In this video, we cover essential PHP concepts under Advanced Web Technology, focusing on Regular Expressions, Include/Require Statements, and File Handling.
📌 Key Topics Covered:
1. Introduction to PHP
What is PHP and its common applications (Login pages, forms, web apps)
2. Regular Expressions in PHP
Delimiters, patterns, and syntax
Key functions: preg_match(), preg_match_all(), preg_replace()
Modifiers: i (case-insensitive), m (multiline), u (Unicode)
Pattern examples: Anchors (^, $), Alternation (|), Character sets ([A-Z], [a-z])
3. Include & Require Statements
Include Statement: Usage and E_WARNING handling
Require Statement: Usage and E_COMPILE_ERROR handling
Key differences between include and require
4. File Handling in PHP
Creating, reading, writing, appending, and deleting files
Supported File Modes: r, r+, w, w+, a
File Functions: fopen(), fread(), fwrite(), fclose(), unlink()
🎓 Subject: Advanced Web Technology
👩🏫 Presenter: Ms. G. Keerthana Darathi, Assistant Professor
🏢 Department: Department of Artificial Intelligence
🏫 Institution: St. Joseph’s College (Autonomous), Tiruchirappalli.
#PHP #WebDevelopment #RegularExpressions #FileHandling #ComputerScience #ArtificialIntelligence #StJosephsCollege