For this to work you must set html and shml as a php file extension in
apache.
This is because shml includes are made before it reaches apache output, so
if you have file "a" including file "b" it the same as having only one file
"a" with copy and paste of file "b" with shml file extension and thu
At 11:12 AM 8/26/2002 +0200, you wrote:
> I'm trying include .php files which reside in alternative directories or
> sub-directories. Such as a file which reside in www/chat/page.php, and for
> this page I would like to include a file which resides in www/forum/include/
Using $DOCUMENT_ROOT h
Hi there.
This should work I think.
include( '../forum/include/test.php' );
This uses the path in relation to the current directory the script resides
in.
Regards
-Scott
> -Original Message-
> From: Gregory Barker [mailto:[EMAIL PROTECTED]]
> Sent: 26 August 2002 11:12
> To: [EMAIL PR
Gregory --
[You know, you shouldn't just reply to any old message and start a new
topic; send a fresh message to the list instead so that it will be the
start of a new thread.]
...and then Gregory Barker said...
%
% Hi all,
Hello!
%
% I'm trying include .php files which reside in alternativ
4 matches
Mail list logo