Re: Question regarding include() and symlinks to directories
| From: | Roman Neuhauser | Date: | Mon, 08 Jan 2007 08:40:08 +0000 |
| Subject: | Re: Question regarding include() and symlinks to directories | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-246735@lists.php.net to get a copy of this message | ||
# Vincent.dupont@ausy.be / 2007-01-08 08:13:11 +0100:
> From: Richard Lynch [mailto:ceo@l-i-e.com]
> > 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, 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).
> >
> > Anything else is more like playing an Adventure Game than Programming.
> >
> > I can see arguments both ways for when to work out the symlink, so
> > you'd have to take this up with Internals to get a change made...
>
> if I can still contribute to this topic, I suggest you never use simlinks.
> We experienced very bad maintenance problems at a customer : when
> copying new files through FTP, the simlinks were often erased or
> overwriten. And this occured on every upgrade of the scripts.
Shouldn't that have been: "never use broken FTP clients"?
NB, I hope I got the quoting right, but if someone got misattributed,
please blame the original quoting.
--
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man. You don't KNOW.
Cause you weren't THERE. http://bash.org/?255991