Re: [PHP] Question regarding include() and symlinks to directories

2007-01-08 Thread Jochem Maas
simlinks. > > > > Vincent Dupont > Ausy Belgium > > > > -Original Message- > From: Richard Lynch [mailto:[EMAIL PROTECTED] > Sent: Sat 1/6/2007 0:17 > To: Karl Pflästerer > Cc: php-general@lists.php.net > Subject: Re: [PHP] Question regardi

Re: [PHP] Question regarding include() and symlinks to directories

2007-01-07 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-08 08:13:11 +0100: > From: Richard Lynch [mailto:[EMAIL PROTECTED] > > Sent: Sat 1/6/2007 0:17 > > To: Karl Pflästerer > > Cc: php-general@lists.php.net > > Subject: Re: [PHP] Question regarding include() and symlinks to directories > &

RE: [PHP] Question regarding include() and symlinks to directories

2007-01-07 Thread Vincent DUPONT
more flexible than simlinks. Vincent Dupont Ausy Belgium -Original Message- From: Richard Lynch [mailto:[EMAIL PROTECTED] Sent: Sat 1/6/2007 0:17 To: Karl Pflästerer Cc: php-general@lists.php.net Subject: Re: [PHP] Question regarding include() and symlinks to directories On Thu

Re: [PHP] Question regarding include() and symlinks to directories

2007-01-05 Thread Richard Lynch
On Thu, January 4, 2007 2:47 pm, Karl Pflästerer wrote: > In my opinion include() should respect symlinks to directories and not > dereference them before finding the file to include. Or am I wrong > here? > The PHP version is 5.1.6 (will soon be updated). WHOOPS! My fingers slipped and I keyboar

Re: [PHP] Question regarding include() and symlinks to directories

2007-01-05 Thread Richard Lynch
On Thu, January 4, 2007 2:47 pm, Karl Pflästerer wrote: > In my opinion include() should respect symlinks to directories and not > dereference them before finding the file to include. Or am I wrong > here? > The PHP version is 5.1.6 (will soon be updated). Honestly... My answer would be "Don't do

Re: [PHP] Question regarding include() and symlinks to directories

2007-01-05 Thread Jochem Maas
Robert Cummings wrote: > On Fri, 2007-01-05 at 22:07 +0100, Jochem Maas wrote: ... >>> ` >>> >>> In my opinion include() should respect symlinks to directories and not >>> dereference them before finding the file to include. Or am I wrong here? >> I have tested using your exact description an

Re: [PHP] Question regarding include() and symlinks to directories

2007-01-05 Thread Robert Cummings
On Fri, 2007-01-05 at 22:07 +0100, Jochem Maas wrote: > reply at the bottom ... > > (Karl Pflästerer) wrote: > > Hi > > let's say we have the follwing directory structure: > > directory test, with to subdirectories: a and b; both have ssi > > subdirectory; a has also a subdirectory c with an index

Re: [PHP] Question regarding include() and symlinks to directories

2007-01-05 Thread Jochem Maas
reply at the bottom ... (Karl Pflästerer) wrote: > Hi > let's say we have the follwing directory structure: > directory test, with to subdirectories: a and b; both have ssi > subdirectory; a has also a subdirectory c with an index.php file in it > and in b we habe a symbolic link to a/c. > > On t

[PHP] Question regarding include() and symlinks to directories

2007-01-05 Thread spam
Hi let's say we have the follwing directory structure: directory test, with to subdirectories: a and b; both have ssi subdirectory; a has also a subdirectory c with an index.php file in it and in b we habe a symbolic link to a/c. On the shell it looks like this: , | /htdocs/test>ls -gG * | a: