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
 [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: Mon Apr 29 14:01:30 2024 UTC