PHP Includes PHP / Functions
PHP has a very handy function called include(). This includes a page within the current page seamlessly. Whereas using iframes or frames in HTML is a separate page to the parent one. include() can be very useful for when you want to inclide content based on a certain topic.
PHP, The Nitty Gritty: Lesson 1 PHP / Getting Started
This is an introductory article on PHP programming. Some of main topics covered include: Variables, Strings, Arrays, Comparison Operators, and Control Structures.
Using Multiple Files in PHP Programming PHP / File Operations
A detailed explanation of the methods for making and using include files in PHP, as well as passing values between included and parent files without using global variables.
Team development method for PHP PHP / General Development
This article explains one of possible ways of developing PHP applications in a team. Discussion include: Single 'selector' file, Database abstraction layer, Embedding PHP, and Separation to files by functionality.
HTML Templates PHP / Templates
Most sites use a standard template throughout the whole website. The header and footer data is stored in a .php file and loaded for each page allowing easy maintenance. This tutorial will show you how to get PHP to dynamically choose which file to include based upon the page currently being viewed.
Using Include To Avoid Unnecessary Repetition PHP / CMS
Did you notice that now we are actually in a PHP-enabled page and not in an HTML page any longer? The dynamic background script from yesterday's diary is in use here, so depending on the day of the week that you are viewing this diary entry page, the background color will change.
Templates, The PHPLIB Way PHP / Templates
This tutorial explains how to use PHPLIB Template in your PHP scripts. Main topics include: Using PHPLIB Template, Nested Templates, and Appending Template Text.
Creating a Website / Server Monitoring Script PHP / Site Analysis
I have created a script which allows users to check to see if their server is online. Obviously running this script from the same server and trying to check your server status whilst its down its too clever, so try using an include or iframe from a free hosting company.
Winestore Customer Management PHP / Membership
This tutorial is the first of four that outline the case study winestore application. It contains an overview of the complete application, as well as the customer management scripts for the winestore. We also introduce the include files that store common functionality used throughout the application.