Difference between revisions of "Server-side Include"

From Market Ruler Help
Jump to: navigation, search
(Created page with 'A '''Server-side''' include is a means by which portions of a web page or web file is '''concatenated''' from another file using a Scripting Language such as PHP, ASP, or Jav…')
 
m
 
Line 26: Line 26:
 
* [http://httpd.apache.org/docs/2.2/mod/mod_include.html Apache mod_include Documentation]
 
* [http://httpd.apache.org/docs/2.2/mod/mod_include.html Apache mod_include Documentation]
 
* [http://en.wikipedia.org/wiki/Server_Side_Includes Server Side Includes on Wikipedia]
 
* [http://en.wikipedia.org/wiki/Server_Side_Includes Server Side Includes on Wikipedia]
 +
 +
[[Category:Glossary]]
 +
[[Category:Technical]]

Latest revision as of 18:46, 6 October 2009

A Server-side include is a means by which portions of a web page or web file is concatenated from another file using a Scripting Language such as PHP, ASP, or Java.

Oftentimes, this is available directly in the web server itself, via an extension.

Example using PHP

<?php
include 'header.php';
?>

Example in Active Server Pages

<!-- #include file="header.asp" --> 

Example using JSP

<!-- #include file="header.jsp" --> 

Related

For more info