Mega Code Archive

 
Categories / Php / File Directory
 

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; ?>