My limited understanding of Unix hard and soft links is that
/www/dir2/subdir is not a directory, it is a pointer to the inode that
is pointed to by /www/dir1/subdir. I think to accomplish what you want,
/www/dir2/subdir would have to be a true directory, filled with soft
links to each of the
You must use absolute paths in includes. essentially
the include will reference itself as the starting
point, rather than the script you are calling it from.
olinux
--- Jonathan Hilgeman [EMAIL PROTECTED] wrote:
I'm on a red hat system, and I've soft-linked two
directories:
/www/dir1/subdir
08, 2002 12:28 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] Soft-Linking and includes
You must use absolute paths in includes. essentially
the include will reference itself as the starting
point, rather than the script you are calling it from.
olinux
--- Jonathan Hilgeman [EMAIL PROTECTED
I'm on a red hat system, and I've soft-linked two directories:
/www/dir1/subdir
/www/dir2/subdir -- /www/dir1/subdir
Now, inside subdir is a file that tries to include(../info.php); which
prints out some information about the file paths and my database stuff. So
there's:
/www/dir1/info.php