include outside file in header.php?
-
i would like to be able to have a PHP file that is located in a different directory than my blog be executed as part of header.php. have a look at these two pages to see what i mean…
http://flyerflies.com/forum
http://flyerflies.com/blogin the forum page, the game data and news headlines are rendered by calling up a file elsewhere within the forum root directory. this is accomplished by using the following command…
<!-- INCLUDEPHP file.php -->…my forum is built on phpBB, so i dont know if that command is standard PHP, or something only phpBB understands.
anywho, i would like to accomplish the same thing on my blog. im hoping i can do it without having to create a duplicate file within the WP blog root directory, and while having it follow my blog’s CSS stylesheet.
any help would be HUGELY appreciated.
The topic ‘include outside file in header.php?’ is closed to new replies.