Help neede!!!!
I am pretty new to php. Recently I am playing with PhpNuke, a pretty powerful portal system. I'm having a huge trouble with using "include" function for displaying static pages. For example, in PhpNUke there is a set of php files for configuration, displaying header, footer, leftblocks, etc. If these files are called (or included) in a file residing in the directory same as these included files, I have a correct output of an html page. If these files are called from a file residing in a subdirectory, what I
get is an html page with all the correct structure, but all image links and file links are preceeded with the subdirectory name, and thus the images are not displayed and the links lead to nowhere. It looks like
I cannot use subdirectories, which means all my contents have to reside in the root directory. That would be hard to manage as the number of files grows. Are there ways around this kind of problem? Paul