PHP/File Directory/readlink

Материал из Web эксперт
Перейти к: навигация, поиск

readlink( ) function takes a link name as its only parameter and returns the target that the link points to.

   <source lang="html4strict">

<?

   $target = readlink("/home/andrew/myfile.txt");
   print $target;

?>

 </source>