Brilliant html and css

Page 269

M14_BRAN1529_01_SE_C14.QXD:BRILLIANT

Creating a global top or bottom menu (cont.)

30/1/09

10:50

Page 258

<html> <head>... content from the serverside include ...</head> <p>...</p> </html> The most common, free programming language is PHP. Using PHP, you could easily automate the inclusion of a top-level menu and a left-side menu.

Processing steps 1. User requests a page with .php extension. 2. The Web server knows that the page is a PHP page and must be processed first. 3. The PHP module, or CGI program, gets the request for the page and gets the .php file. 4. The PHP processor replaces the PHP include statement with the top header. 5. The PHP processor replaces the PHP include statement with the left menu. 6. The complete HTML document is returned to the Web server. 7. The Web server returns the HTML document to the user.

258


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.