Source Code:
(back to article)
<?php if (is_link('example_file')) { $link_target = readlink('example_file'); echo 'The target of the symbolic link is ' . $link_target; } else { echo 'The file is not a symbolic link.'; }
Result:
Report an issue