# PHP question or help needed

**URL:** <https://boards.straightdope.com/t/php-question-or-help-needed/97399>\
**Category:** Factual Questions\
**Created:** [December 7, 2001, 6:49am UTC](https://boards.straightdope.com/t/php-question-or-help-needed/97399 "2001-12-07T06:49:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![llamasex](https://avatars.discourse-cdn.com/v4/letter/l/bbce88/32.png) [@llamasex](https://boards.straightdope.com/u/llamasex)\
**Post date:** [December 7, 2001, 6:49am UTC](https://boards.straightdope.com/t/php-question-or-help-needed/97399/1 "2001-12-07T06:49:55Z")

</div>

I wanted to put a comment system on my page, I found one I like and I got it to work. But the problem is that it requires the extention .php. That is fine, but I use SSI’s on my page and for them to work I need the extention .shtml. Know I am sure there is a way for PHP to use SSI’s but I don’t know what it is? can anyone here help me out?

---

<div class="post-metadata">

**Author:** ![black\_rabbit](https://avatars.discourse-cdn.com/v4/letter/b/f19dbf/32.png) [@black\_rabbit](https://boards.straightdope.com/u/black_rabbit)\
**Post date:** [December 7, 2001, 7:23am UTC](https://boards.straightdope.com/t/php-question-or-help-needed/97399/2 "2001-12-07T07:23:12Z")

</div>

PHP can do includes too.

From my limited knowledge of it, you do the following, much like SSI:

```auto

<?
include ('template_file.inc');
?>

```

The difference is, your include file has to have the .inc extention.

I’m sure somebody will be along to correct me shortly.
