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


-- PHP Development Internals - Developing the PHP Runtime Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to