realpath()
The realpath() function returns the canonicalized absolute pathname. This is useful for resolving relative paths.