Get the target of a symbolic link in PHP

Description

The following code shows how to get the target of a symbolic link.

Example


 /*  w w w  .  j av  a  2s .c  o  m*/
  
<?php
    echo readlink("/user/testlink");
?>




















Home »
  PHP Tutorial »
    File »




Directory
DirectoryIterator
Drive
File
File Permission
File Read Save
FileSystemIterator
Path
Zip