Relative include feedback

From: Date: Thu, 13 Mar 2003 16:24:16 +0000
Subject: Relative include feedback
Groups: php.internals 
Request: Send a blank email to internals+get-15@lists.php.net to get a copy of this message
I hope that this is an appropriate place to post a feature request! I posted a message on the Zend.com "into the future" forum about having a function that would return the full path to a file relative to the current executing script, and NOT the first script called, i.e.: Instead of doing: include_once realpath(dirname(__FILE__).'/../example.php'); As you have to do now, you could do: include_once relative_path('../example.php'); What do you think? Regards, Kelvin

« previous php.internals (#15) next »