PHP Tutorials - Herong's Tutorial Examples


Book Description

This PHP tutorial book is a collection of notes and sample codes written by the author while he was learning PHP himself. Topics include PHP script syntax; data types, variables, array, expressions, statements and functions; Web server integration; HTTP requests and controlling HTTP responses; sessions, cookies, and file uploads/downloads; MySQL database server access; files, directories, and ZIP archives; parsing HTML Documents; processing image files; SOAP extension; managing non-ASCII characters; classes and objects; using PHP on Windows, macOS and Linux; executing external programs on operating system. Updated in 2022 (Version v5.16) with minor changes. For latest updates and free sample chapters, visit https://www.herongyang.com/PHP.




MySQL Tutorials - Herong's Tutorial Examples


Book Description

This MySQL tutorial book is a collection of notes and sample codes written by the author while he was learning MySQL himself, an ideal tutorial guide for beginners. Topics include introduction of Structured Query Language (SQL); installation of MySQL server on Windows, Linux, and macOS; using MySQL client program; accessing MySQL server from PHP, Java and Perl programs; SQL data types, literals, operations, expressions, and functions; Statements of Data Definition Language (DDL), Data Manipulation Language (DML), and Query Language; creating and using indexes; using window functions; stored procedures; transaction management; locks and deadlocks; InnoDB and other storage engines. Updated in 2023 (Version v4.46) with minor changes. For latest updates and free sample chapters, visit https://www.herongyang.com/MySQL.




SOAP Web Service Tutorials - Herong's Tutorial Examples


Book Description

This book is a collection of notes and sample codes written by the author while he was learning SOAP Web service. Topics include introduction of SOAP specifications; SOAP modules, features, and message structure; SOAP Message Exchange Patterns; Python, Perl, PHP, and Java support of SOAP Web services; WS-Security, Username Token and X.509 Token; Signing and Encrypting SOAP messages; Using SoapUI for Web service testing. Updated in 2024 (Version v5.13) with Python tutorials. For latest updates and free sample chapters, visit https://www.herongyang.com/Web-Services.




WSDL Tutorials - Herong's Tutorial Examples


Book Description

This book is a collection of notes and sample codes written by the author while he was learning WSDL himself. Topics include introduction to WSDL (Web Services Definition Language); WSDL document structure; 'types', 'interface', 'binding' and 'service' definition elements; differences between style='rpc' and style='document'; using WSDL document with SoapUI; parsing WSDL documents with Python, PHP, Perl, and Java programs. Updated in 2024 (Version v2.22) with Python tutorials. For latest updates and free sample chapters, visit https://www.herongyang.com/WSDL.




XML Tutorials - Herong's Tutorial Examples


Book Description

This XML tutorial book is a collection of notes and sample codes written by the author while he was learning XML himself. Topics include introduction to XML, DTD (Document Type Definition), XSD (XML Schema Definition), XPath (XML Path Language), XSL (Extensible Stylesheet Language), XSLT (XSL Transformation), XSL-FO (Formatting Objects), DOM (Document Object Model), and SAX (Simple API for XML); viewing XML with Chrome, Firefox, Safari and IE Web browsers; XML tools with Notepad++ and Atom editors; generating and parsing XML with Java, PHP and Python programs; converting XML to and from JSON. Updated in 2024 (Version v5.25) with minor changes. For latest updates and free sample chapters, visit https://www.herongyang.com/XML.




Linux Apps Tutorials - Herong's Tutorial Examples


Book Description

This book is a collection of notes and sample codes written by the author while he was learning Linux applications. Topics include using managing users and groups; managing files and directories; managing Apache Web server and SquirrelMail; managing MySQL server; developing Python and PHP scripts; using GCC C/C++ compilers; running graphical applications on GNOME desktop and X11 servers; running Conda - Environment and Package Manager. Updated in 2023 (Version v1.02) with minor updates. For latest updates and free sample chapters, visit https://www.herongyang.com/Linux-Apps.




PKI Tutorials - Herong's Tutorial Examples


Book Description

This tutorial book is a collection of notes and sample codes written by the author while he was learning PKI (Public Key Infrastructure) technologies himself. Topics include Root CA (Certificate Authorities); SSL, TLS, and HTTPS; Server and client authentication processes; Communication data encryption; Using HTTPS with Chrome, Firefox, Edge, Safari and Internet Explorer; Managing certificates on Windows, macOS, iOS and Android systems; X.509 certificate format; Certificate store and management tools; Certificate validation chain; Self-signed certificate and CSR; Digital signature on MS Word and OpenOffice documents; Get free personal certificate from Comodo. Updated in 2022 (Version v2.31) with macOS and Safari tutorials. For latest updates and free sample chapters, visit https://www.herongyang.com/PKI.




Cryptography Tutorials - Herong's Tutorial Examples


Book Description

This cryptography tutorial book is a collection of notes and sample codes written by the author while he was learning cryptography technologies himself. Topics include MD5 and SHA1 message digest algorithms and implementations, DES, Blowfish and AES secret key cipher algorithms and implementations, RSA and DSA public key encryption algorithms and implementations, Java and PHP cryptography APIs, OpenSSL, keytool and other cryptography tools, PKI certificates and Web browser supports. Updated in 2023 (Version v5.42) with minor changes. For latest updates and free sample chapters, visit https://www.herongyang.com/Cryptography.




PHP Tutorials


Book Description

Second Edition April 2015, revised and updated. Written from a series of college lectures on PHP and MySQL, this book is a practical look at programming. It starts with an introduction to PHP and then goes on to MySQL and how to use SQL with the PHP language. It provides an introduction to web programming, how to display data from a database and update data to the database. It explains issues that you encounter in real world situations and provides the basic code from which you can then use to further develop. It would be helpful if you have some HTML knowledge, but the examples should provide you with what you need to know. It would also be helpful to have had some experience in programming using one of the more popular languages such as Visual Basic, although this is not necessary. Many of the tutorials consists of a series of examples and tasks which illustrate each point and concentrate on simplified code so that you can see how they are used. * Introduction - Basic PHP concepts. * Variables - Variables, programming techniques and so on. * Forms and PHP - Posting data between forms. * Arrays - loops and array structures. * Basic PHP structures - include files and how to use them. * Functions - writing and using your own functions. * Posting Forms - how forms work. * Email Forms - an email form. * JavaScript - posting forms with JavaScript. * SQL and MySQL - Querying database tables using SQL. * An Example table - some example data. * Database Access - how to connect to a database. * Using PHP and MySQL - an example form. * Further PHP and MySQL - More PHP and MySQL. * OpenCart - an example of an Open Source project. * Error handling and debugging - Simple methods to find errors. * Cookies and sessions - When and where to use them. * Modifying Records - editing and updating databases with PHP and SQL. * Classes - An introduction to object orientated programming. * File Handling - Reading and writing to text files. * Regular Expressions and Validation - Some validation methods. * PHP security - Some methods to overcome this issue. * JQuery - An introduction to jQuery. * htaccess and php.ini - how to use them. * WordPress - an introduction to creating a WordPress Plugin.