Establish a solid link:
| <?php $target = “text.txt”; $linkname = “mylink”; link($target, $linkname); ?> |
A hard link is created via the link() method.
| link(target, link) |
|
Parameter |
Description |
|
target |
Essential. identifies the goal |
|
link |
Essential. provides the link’s name. |
|
Return Value: |
FALSE when it fails, TRUE when it succeeds |
|
PHP Version: |
4.0+ |
|
PHP Changelog: |
PHP 5.3.0 is now accessible on Windows-based systems. |