O'Reilly logo

Microsoft® Expression® Web 4 Step by Step by Chris Leeds

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

Note

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.

  1. Click the arrow on the New Document button, and then click PHP. Expression Web creates a new PHP ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required