Forum Moderators: coopster
Why not?
.htaccess on both sites:
AddType text/html .shtml .html
AddHandler server-parsed .shtml .html
RemoveHandler .html .htm
AddType application/x-httpd-php .php .htm .html .shtml
include code on both sites:
<?
include('menu2.shtml');
?>
I've tried using .php instead of .shtml, I've tried changing the .htaccess files.
Why should the same code work on one site and not the other?
Thanks
I am really sorry to bother you all but was wondering if I could ask for some help.
I still haven't sorted the problem in the following post:
[webmasterworld.com...]
I was wondering if you could take a look at my site and tell me where I am going wrong?
PM me for my site URL
You can see everything but the php - which is still in the source code.
Any advise would be REALLY appreciated!
Emma
However you could try -
1) Check that
<?php
include('menu2.shtml');
?>
I cant see anything wrong with the htaccess file, however it may be worth asking in the apache forum. As they may have a suggestion that we dont.
There are a few more things that may need checking, however that gives you somethings to check. Or you could just ask your host to have a look if they wont charge you.