Forum Moderators: coopster
.phpfiles, you need to make sure your configuration file (
httpd.conf) or per-directory override file (
.htaccess) contains the following directives:
Options +Includes
AddOutputFilter INCLUDES .php
The best way to get around this and make your code more portable is to do the include like this:
<?php include($_SERVER["DOCUMENT_ROOT"]."/path/to/file.inc.php");?>