On Thu, 13 Mar 2003, Kelvin Jones wrote: > 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?
Just set your include path correctly? Derick -- "my other box is your windows PC" ------------------------------------------------------------------------- Derick Rethans http://derickrethans.nl/ PHP Magazine - PHP Magazine for Professionals http://php-mag.net/ ------------------------------------------------------------------------- -- PHP Development Internals - Developing the PHP Runtime Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php