Using sockets in PHP to reveal the path that a tinyurl.com URL really points to by reading the HEAD data.
Factorial and Greatest Common Divisor
This tutorial demonstrates how to calculate the greatest common divisor and factorial numbers by doing basic math with PHP.
How to upgrade from PHP 4.x to PHP 5.x on Windows
This tutorial walks you through step by step and shows how you can upgrade from PHP 4.x to PHP 5.x on a Windows machine running IIS 4.x or higher.
Simple way of making a mail script
An example for a very simple way to make a mail script that supports HTML tags in PHP.
Retrieve PageRank using PHP
This PHP code is designed to work on servers running the latest version of PHP as well, unlike most of the code samples on the web which will not work on many servers because of a checksum error.
Calculate age from birth date
A PHP function to calculate the age of a person by passing in their birth date in standard format.
Check for prime numbers
The IsPrime() function uses the recursive method to check if a number is prime. It’s a fast function which can compute thousands of numbers within seconds.
Detect operating system from user agent string
This code uses an array of user strings and their matching operating systems so that it can detect what operatings system the user is using.
Get The Current Season
Get the current season based on the United States calendar of seasons and the clock of the PHP server.
Display Time That Passed Since a Date
Calculate the time that has passed since a specified Unix formatted date and time, and show it in a human readable format, all in a PHP function.