note 24825 added to function.is-link
| From: | isvic9009 at korea dot com | Date: | Thu, 29 Aug 2002 13:06:58 +0000 |
| Subject: | note 24825 added to function.is-link | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-35978@lists.php.net to get a copy of this message | ||
Thank Andreas Dick for method of is_link.
On my Redhat 7.2 is_link does not work on directories, but to use now!
$linkdir = $path."/".$linkdirname;
if (realpath($linkdir) != realpath($path)."/".$linkdirname):
//$linkdir is a symbolic linked dir!
...
and this works fine :*^^*)
islee
--
http://www.php.net/manual/en/function.is-link.php
http://master.php.net/manage/user-notes.php?action=edit+24825
http://master.php.net/manage/user-notes.php?action=delete+24825
http://master.php.net/manage/user-notes.php?action=reject+24825