Trouble Including Needed Files
Posted: Mon Jun 16, 2003 1:27 pm
Hi
I've created this news script that I will eventualy relese publicly and have everything working greate however I am unable to include a file needed for one of the files that displays the news. For example I need to inclue a news.php files but in that file I need a config.php file. Here is the code for the news display includes:
on my home page i need to include the newsdisp.php file by using
this leads to the problem... the config.php file is not included in the display file when I try to include it. It works great other wise.
I've created this news script that I will eventualy relese publicly and have everything working greate however I am unable to include a file needed for one of the files that displays the news. For example I need to inclue a news.php files but in that file I need a config.php file. Here is the code for the news display includes:
Code: Select all
<?php
include "admin/config.php";
.... and so forth
?>Code: Select all
<?php
include "/home/micro/public_html/projects/Mnews/mnewsDisplay.php";
?>