ID:               19531
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Bogus
 Bug Type:         Scripting Engine problem
 Operating System: Slackware Linux 8.0
 PHP Version:      4CVS-2002-09-20
 New Comment:

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.

Try it with any other symlinks see if it works, if it does, check file
permissions on /usr/local/apache2/manual/.


Previous Comments:
------------------------------------------------------------------------

[2002-09-20 16:15:17] [EMAIL PROTECTED]

from CVS for 200209132100

Loop through a directory or set your own variables and:

$erk = is_link($dirname."/".$file);
$erk2 = @readlink($dirname."/".$file);
echo "Checking file=$dirname/$file<br> -LinkStatus=$erk<br>
--Readlink=$erk2<br>";

produces for me on a directory containing a link:

Checking file=/share/web/slinks/htdocs
-LinkStatus=
--Readlink=/usr/local/apache2/manual/

So Readlink() works, is_link() does not.  Funky huh?



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=19531&edit=1

Reply via email to