Using PHP Include Files
Like the ASP.NET Web user control, the PHP include file functionality uses the server to dynamically combine files before they’re served to the browser. By using the PHP include file, you can gain the same advantages over a design-time include that you can with an ASP.NET Web user control.
Use PHP include files
Use the SampleSite site you opened in the previous exercise. Open this book’s sample site if it isn’t already open.
In the following steps, you will create a new PHP page, attach a Dynamic Web Template to it, create a file to be included in the PHP page, and then use a PHP include to insert the contents into your page.
Click the arrow on the New Document button, and then click PHP. Expression Web creates a new PHP ...