php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #29592 Retrieve the path and filename of a file handle
Submitted: 2004-08-09 21:56 UTC Modified: 2004-08-10 08:51 UTC
From: mail at here dot org Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: Irrelevant OS: All
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
45 - 26 = ?
Subscribe to this entry?

 
 [2004-08-09 21:56 UTC] mail at here dot org
Description:
------------
In certain cases, it would be useful in order to have available a function that will return the absolute path to which an open file handle points. 

ie,

$filepath = fgetpath( $handle );


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-08-10 08:51 UTC] derick@php.net
We have stream_get_meta_data for this:
http://php.net/stream_get_meta_data
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 16 20:01:34 2024 UTC