The Text_Diff PEAR class makes it possible to compare file contents in the PHP environment and render the output in various formats. This tutorial demonstrates this class in action, illustrating how you can use it to dynamically compare file contents ...
In contrast with other open source languages like Perl and Python, PHP lacks a robust community effort to develop a math library. This article provides an example of a PHP math library called SimpleLinearRegression that demonstrates a general approach...
An easy to follow tutorial which focuses on the most elementary PHP concepts. Suitable for people who have heard of PHP, but who have never actually seen or written PHP or any other programming language.
BB code is a simple set of instructions that provide rules as to how a piece of text should be formatted. In this hands-on tutorial, Stoyan explains the basics that every developer should know about the use of BB code in PHP applications.
Demonstrates a technique for preventing spambots from submitting forms, using questions such as "which day comes after Tuesday?" or "spell the number 7 in lowercase letters".
This article introduces a toolkit designed specifically for manipulating configuration files, thereby reducing the number of lines of code needed to read and modify application variables. This toolkit is written in PHP and implemented as a class, suit...