Re: Re: [PHP-DEV] FEATURE REQUEST: symlinks under NT
| From: | Timo Weingärtner | Date: | Sun, 07 Jul 2002 10:30:44 +0000 |
| Subject: | Re: Re: [PHP-DEV] FEATURE REQUEST: symlinks under NT | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-85823@lists.php.net to get a copy of this message | ||
As I said they are directory junctions, but they work like symlinks. I
wanted to ask if you could include it in one of the next versions of PHP,
because I don't know much about programming in C. In the meantime I wrote a
PHP script that executes the tool mentioned below and processes the output,
but that's not very fast. I think it should be faster if the required code
would be included in PHP itself. I know that Apache 2.x recognizes junctions
under NT (Options FollowSymlinks). It would be nice to have the code
included in PHP.
Thanks in advance, Timo Weingärtner
-----Original Message-----
From: Zeev Suraski [mailto:zeev@zend.com]
Sent: Samstag, 6. Juli 2002 16:55
To: Timo Weingärtner
Cc: php-dev@lists.php.net
Subject: Re: [PHP-DEV] FEATURE REQUEST: symlinks under NT
Are you sure they're equivalent to symlinks? They only work with
directories as far as I know, which renders them significantly less useful
than UNIX symlinks.
Zeev
At 05:26 PM 7/6/2002, Timo Weingärtner wrote:
>NTFS supports directory junctions which are equivalent to unix symlinks.
>I found a tool that can create, read and delete such junctions.
>Is there are posiibility to include that code into php so that it supports
>it in realpath(), symlink(), linkinfo(), readlink(), filetype(), is_link(),
>stat(), lstat()?
>The complete source code can be found at:
>http://www.sysinternals.com/files/jnctnsrc.zip
>
>
>
>
>--
>PHP Development Mailing List <http://www.php.net/>
>To unsubscribe, visit: http://www.php.net/unsub.php