From: [EMAIL PROTECTED] Operating system: Slackware Linux 8.0 PHP version: 4CVS-2002-09-20 PHP Bug Type: Scripting Engine problem Bug description: is_link returns empty string in all cases.
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 bug report at http://bugs.php.net/?id=19531&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19531&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19531&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19531&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19531&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19531&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19531&r=support Expected behavior: http://bugs.php.net/fix.php?id=19531&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19531&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19531&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19531&r=globals