[Solved] PHP include() function doesn't work in .html files
Posted: 20. May 2010 10:34
Hello,
I have Ubuntu 9.10 and LAMPP 1.7.3a. There is no problem running .php sites like phpBB3 but when I include some file, e.g.
The problem doesn't exist when the same files (index.html and included.html) are uploaded to a web hosting company server.
I would appreciate any help.
I have Ubuntu 9.10 and LAMPP 1.7.3a. There is no problem running .php sites like phpBB3 but when I include some file, e.g.
- Code: Select all
<?php include("included.html"); ?>
The problem doesn't exist when the same files (index.html and included.html) are uploaded to a web hosting company server.
I would appreciate any help.