Forum Moderators: phranque

Message Too Old, No Replies

Include File not Working.

I have used Include file in a shtm file but its not working...

         

ahmadrashid

4:18 am on Dec 25, 2007 (gmt 0)

10+ Year Member



I have searched the forum before posting my question, but failed to get the solution.

The problem is that i have used include tag in a shtm file as <!--#include file="footer.htm" --> while the footer.htm file is in the same directory.

Now i have checked it locally on IIS and its working perfect. But when i uploaded to my web server its not displaying the footer.htm in its place.

What should i do?

coopster

4:57 pm on Dec 25, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, ahmadrashid.

What HTTP server is running on your live machine? Are server-side includes enabled on that machine, for that particular file extension?