09-28-04 01:49 PM
Justin Koivisto wrote:
> Christoph Hörterer wrote:
>
>
>
> easiest way...
>
> include dirname(__FILE__).'/include/file.txt';
>
> Where "/include/file.txt" is relative to the file that you are working on.
>
Ok,
didn't really understand your answer but it brought me to something
obvious. Thank you. As virtual hosts already work, I just add the
virtual domain:
include("http://test.pofi.de/include/file.txt");
So it works, even in subdirectories.
How come that php doesn't accept the root directory of a virtual host,
while html and css does?
cu Christoph
[ Post a follow-up to this message ]
|