PHP Modules Tutorials - Herong's Tutorial Examples

https://www.herongyang.com/PHP-Modules

© 2003-2024 Herong Yang. All rights reserved.

PHP Modules Tutorials This PHP tutorial book is a collection of notes and sample codes written by the author while he was learning PHP modules himself. Topics include using PHP on Windows, macOS and Linux; mysql and mysqli modules for MySQL database server access; dom mudule for parsing HTML Documents; gd module for processing image files; zip module for managing ZIP archives; soap module for using SOAP Web services. Updated in 2024 (Version v5.18) with minor changes.

Table of Contents

About This Book

Introduction and Installation of PHP

What Is PHP

Downloading and Installing PHP 7.3 for Windows

"php -help" - Command Line Options

"php -m" - Built-in Modules

"php -i" - PHP Engine Information

php.ini - PHP Runtime Configuration

Hello.php - My First PHP Script

"php -a" - PHP Interactive Shell

Downloading and Installing PHP Documentation

Managing PHP Engine and Modules on macOS

PHP Version Pre-Installed on macOS

Upgrade PHP Engine on macOS

Managing PHP Engine and Modules on CentOS

PHP Version Pre-Installed on CentOS

Install PHP Extensions on CentOS

PHP Version Pre-Installed on CentOS 6

Use PHP Composer on CentOS Computers

MySQLi Module - Accessing MySQL Server

MySQLi Module Configuration and Database Access

mysqli_connect() and Other MySQL Functions

MySqlLoop.php - MySQL Functions Test

DOM Module - Parsing HTML Documents

DOM (Document Object Model) Module

Parse and Traverse HTML Documents

Build New HTML Documents

Load HTML Documents with LIBXML_NOBLANKS

Remove Whitespaces in HTML Documents

DOCTYPE Element in HTML Documents

Remove Dummy Elements in HTML Documents

Install DOM Extension on CentOS

GD Module - Manipulating Images and Pictures

Zip Module - Managing ZIP Archive Files

The ZipArchive Class

Create New ZIP Archive

Extract Files from ZIP Archive

Create ZIP Archive with Directory

Create ZIP Archive for Download

SOAP Module - Creating and Calling Web Services

SOAP Module and PHP Implementations of SOAP

Turning on the Default SOAP Module

Hello_There.php - First Example of SOAP

SoapClient - SOAP Client Class and Functions

Hello_There_Dump.php - Debugging SOAP Messages

What Is WSDL

Using SOAP Extension in non-WSDL Mode

SOAP Module - Server Functions and Examples

References

Full Version in PDF/EPUB

Keywords: PHP, Tutorial, Examples, Web