Re: Question regarding include() and symlinks to directories
| From: | Richard Lynch | Date: | Fri, 05 Jan 2007 23:15:40 +0000 |
| Subject: | Re: Question regarding include() and symlinks to directories | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-246649@lists.php.net to get a copy of this message | ||
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 that."
Use include_path so that you never need to use ".." in your includes,
and use full pathnames when you go to read
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?