php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #244 file* functions and symlink
Submitted: 1998-04-04 10:49 UTC Modified: 2000-08-05 04:47 UTC
From: priyadi at priyadi dot ml dot org Assigned:
Status: Closed Package: Other
PHP Version: 3.0 Release Candidate 3 OS: Linux 2.0.33
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: priyadi at priyadi dot ml dot org
New email:
PHP Version: OS:

 

 [1998-04-04 10:49 UTC] priyadi at priyadi dot ml dot org
filetype() doesn't return correct type for symlink, it instead returns the type of file it pointed to, or false if it is a dangling symlink...

other file functions are also affected, such as fileinode(), file_exists()

configure options: --with-apache --with-mysql --enable-track-vars


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-05 04:47 UTC] hholzgra@php.net
currently works for symlinks (returning 'link') as long as
file pointed to exists
as this is already the topic of another report i close this one
 [2000-08-05 04:47 UTC] hholzgra@php.net
did i say close?
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sun May 29 02:05:45 2022 UTC