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






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

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

Related examples in the same category