Reducing Your Workload with PHP Includes


Wouldn’t it be wonderful if you could make changes to just a single page and have them reflected through the site in the same way as CSS? Well, with PHP includes, you can. As the name suggests, the contents of an include file are included and treated as an integral part of the page. They can contain anything you would normally find in a PHP page: plain text, HTML, and PHP code. The file name extension doesn’t even need to be. php, although for security it’s common practice to use it.


Style Sheet External File Copyright Notice Design View Navigation Menu 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© David Powers 2009

Personalised recommendations