I would like to get the symbolic link full path.
Consider the following:
/path/to/folder/link.file
links to /path/to/folder/original.txt
.
I need to acquire the links' full path and not the original file, such as:
$fullpath = abs_path("link.file");
will return /path/to/folder/link.file
instead of /path/to/folder/original.txt
.
I tried reading but couldn't get a working solution..
To clarify, the absolute path of the link file itself