# PHP Server-side Includes

**URL:** <https://forum.kirupa.com/t/php-server-side-includes/160172>\
**Category:** programming\
**Created:** [August 23, 2005, 10:47pm UTC](https://forum.kirupa.com/t/php-server-side-includes/160172 "2005-08-23T22:47:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hgfl](https://avatars.discourse-cdn.com/v4/letter/h/8e7dd6/32.png) [@hgfl](https://forum.kirupa.com/u/hgfl)\
**Post date:** [August 23, 2005, 10:47pm UTC](https://forum.kirupa.com/t/php-server-side-includes/160172/1 "2005-08-23T22:47:25Z")

</div>

You know how when you do a PHP include of an html file (for example), it kind of overlaps the page that you’re ‘including’ it on?

E.g. you might have a generic template with a navigation bar at the top and want the content to be positioned on that page beneath the nav bar, so you could do a server-side include to lay the content page over the top of the page that has the nav bar at the top…

My question is: is it possible to do the same with a txt file? (for example, if someone has written an FAQ as a txt file and I wanted to place it onto a page with a nav bar). Can anyone point me in the direction of an online example of this being done?

I would try it myself, but I don’t have access to a server with php, etc.

Thanx for any help you can give 🙂
