Well, I've got one major problem that looks to me is going to cost me alot of work, that is if I'm right about that there isn't really a solution to my problem...?
what I have is a directory, which has a subdirectory modules, and underneath that I have module directories, like admin, documentViewer etc., now my problem arises when trying to include a file in one of the module directories into my index.php which is in the root....
I include the modules as follows :
- Code: Select all
<? include("Modules/$module/bodyspace.php"); ?>
On my windows test server it runs perfect, but on my Netware server I get this error:
- Code: Select all
Warning: open_basedir restriction in effect. File is in wrong directory in SYS:/apache2/htdocs/mywebsite/Modules/Documents/bodyspace.php on line 8
does anyone have an idea what I can do to stop this error from appearing, or is my only option to recode, reducing security which may open the server to any hazards is out of the question....iow did I start from the start with the wrong theory of using includes....?
Thnx
Pulse 8O


