Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- Quick PHP Includes Question


madcat - 9:03 pm on Jul 21, 2002 (gmt 0)


Hi-

I'm running a local server on Windows 2000...
I simply want to use an include in my .html file.

In whatever.html:

<?php include "nav.inc"; ?>

------------------------------

I may be reading the documentation wrong, but I thought I could go into httpd.conf and add the .html extension to the addtype line. Nothing happens at all.

AddType application/x-httpd-php .php4 .php .htm .php3 .inc .html

-What other files might need to be modified?
-Can this be done?

Thanks-
M


Thread source:: http://www.webmasterworld.com/php/468.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com