# PHP 函数:link()

**URL:** <https://www.isharkfly.com/t/php-link/2743>\
**Category:** PHP\
**Created:** [October 23, 2012, 2:15am UTC](https://www.isharkfly.com/t/php-link/2743 "2012-10-23T02:15:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![honeymoose](https://www.isharkfly.com/user_avatar/www.isharkfly.com/honeymoose/32/20796_2.png) [@honeymoose](https://www.isharkfly.com/u/honeymoose)\
**Post date:** [October 23, 2012, 2:15am UTC](https://www.isharkfly.com/t/php-link/2743/1 "2012-10-23T02:15:45Z")

</div>

建立硬式链接。

语法: int link(string target, string link);

返回值: 整数

函数种类: 文件存取

内容说明  
本函数建立硬式链接，用来将参数 link 链接至 target。
