Use realpath() to Resolve Relative Paths

Use realpath() to Resolve Relative Paths

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

← Back to Tips List