I'm looking for PHP function that takes $filename as parameter and returns absolute path.
I looked on php.net but cannot find such function. Any ideas if such function exist?
Thanks
http://www.centricitysystems.com/xbdocs/xbsms/xbCommon/_xbutils_php.html#get_absolute_web_path
You may have to install a library to get it to work though...
[man]realpath/man