Hello,
In ASP to use my include files off the document root I would use the MAPPATH command.
In PHP however I am finding using what seems to be the equivilent, $_SERVER["DOCUMENT_ROOT"], works fine on UNIX\LINIX servers but when used on Windows server running apache\php UNIX client browsers cannot deal with it.
Perhaps it is because the path translates to "c:/program files/apache group/apache/htdocs"??? ...to Windows-ish? I tried PATH_TRANSLATED and the like...still no go. I also tried hard coding ( I know it should not matter to the client when accessing a web server that uses this $_SERVER["DOCUMENT_ROOT"]). It does not make sense. (-:
Any suggestions on running apache\php on a windows server with UNIX\LINUX client browsers?
Thanks all,
Michael42
In ASP to use my include files off the document root I would use the MAPPATH command.
In PHP however I am finding using what seems to be the equivilent, $_SERVER["DOCUMENT_ROOT"], works fine on UNIX\LINIX servers but when used on Windows server running apache\php UNIX client browsers cannot deal with it.
Perhaps it is because the path translates to "c:/program files/apache group/apache/htdocs"??? ...to Windows-ish? I tried PATH_TRANSLATED and the like...still no go. I also tried hard coding ( I know it should not matter to the client when accessing a web server that uses this $_SERVER["DOCUMENT_ROOT"]). It does not make sense. (-:
Any suggestions on running apache\php on a windows server with UNIX\LINUX client browsers?
Thanks all,
Michael42