View Single Post
Old 02-15-2003, 07:02 PM  
buran
Confirmed User
 
Join Date: Mar 2002
Location: how'd I get here?
Posts: 264
Unless you're running Apache2, you cannot process a file through more than one module (SSI, or PHP). The solution then is this:


<?php
require_once("/path/to/file.php");
?>

alternatively, you can configure to look at a list of paths to find files, called the include_path. If your file is in one of those directories, you can include it as just

require_once("filename.php");

Recommend you trying running a page with just this command to see how your PHP is configured:

<?php
phpinfo();
?>

(had to change < to & lt ; in order for it to render in phpBB)
__________________
[this signature intentionally left blank]
buran is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote