Hi Antony, On Nov 17, 2007 5:21 AM, Antony Dovgal <[EMAIL PROTECTED]> wrote: > On 17.11.2007 11:23, Marshall Greenblatt wrote: > > Is there a method that can be used from within the stream_opener > > handler function to retrieve the path of the file currently being > > processed? > > Yes, zend_get_executed_filename(). > Though, I believe you actually need expand_filepath(), which does exactly > what you said, > i.e. resolves relative paths.
Thank you for your quick response. zend_get_executed_filename() allowed me to do exactly what I was looking for. > > -- > Wbr, > Antony Dovgal > Regards, Marshall -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php