note 24825 deleted from function.is-link by jmcastagnetto
| From: | jmcastagnetto@php.net | Date: | Thu, 29 Aug 2002 20:43:15 +0000 |
| Subject: | note 24825 deleted from function.is-link by jmcastagnetto | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-36002@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