Want to master PHP programming skills? Or want to learn how to complete a specific task? Then be sure to take a look at "PHP Classic Example" first. This book introduces 350 classic techniques specially revised for PHP 5.4 and 5.5, and provides rich sample code. In particular, the solution for generating dynamic web content has been comprehensively updated, covering everything from using basic data types to querying databases, from calling RESTful APIs to testing and securing websites.
Each tip provides sample code that is free to use, along with a discussion of how to solve the problem and why the solution works. Whether you are an experienced PHP programmer or you are just switching to PHP from another language, this book is an ideal practical resource.
The techniques provided by "PHP Classic Examples" include:
Basic data types: string, number, array and date and time.
Program building blocks: variables, functions, classes, and objects.
Web programming: cookies, forms, sessions and authentication.
Access databases using PDO, SQLite and other extensions.
RESTful API clients and servers, including HTTP, XML and OAuth.
Key concepts: email, regular expressions, and graph creation.
Designing robust applications: security and encryption, error handling, debugging and testing, and performance tuning.
Command line interface for files, directories and PHP.
Libraries and package managers such as Composer and PECL.
All resources on this website are contributed and published by netizens, or reprinted by major download sites. Please check the integrity of the software yourself! All resources on this website are for learning and reference only. Please do not use them for commercial purposes, otherwise you will be responsible for all consequences incurred! If there is any infringement, please contact us to delete and remove it. Contact information: admin@php.cn