ң

realpath

(PHP 4)

realpath - /pathname.

string realpath (string path)

realpath() ,   '/./', '/../' '/' path absolute pathname. , '/./' '/../'.

realpath() FALSE , , .

1. realpath()
$real_path = realpath ("../../index.php");

. basename() , dirname() pathinfo() .


ң
readlink rename