Check to see if a link is legitimate:
<?php echo linkinfo(/rubbish); ?> |
The purpose of the linkinfo() method is to confirm the existence of a hard link by returning its details.
linkinfo(path) |
Parameter |
Description |
path |
Essential. details the route to be checked. |
Return Value: |
When successful, the device ID is returned by the lstat system function; otherwise, it returns FALSE or 0. |
PHP Version: |
4.0+ |
PHP Changelog: |
PHP 5.3.0 is now accessible on Windows-based systems. |