超越PHP PHP动态 | 经典文章 | CLASS | 相关下载 | 常见问题 | FORUM | WIKI | 在线手册
Site search:    
<is_writeablelinkinfo>
Last updated: Fri, 22 Jun 2007

link

(PHP 3, PHP 4 , PHP 5)

link -- 建立一个硬连接

说明

bool link ( string target, string link)

link() 建立一个硬连接。如果成功则返回 TRUE,失败则返回 FALSE

注: 本函数不能作用于远程文件,被检查的文件必须通过服务器的文件系统访问。

参见 symlink() 来建立软连接,以及 readlink()linkinfo()




add a note add a note User Contributed Notes
link
kop at meme dot com
25-Sep-2003 05:20
Note that link() will not work if the target already exists, at least as of php 4.1.2.

<is_writeablelinkinfo>
 Last updated: Fri, 22 Jun 2007
view source | feedback | send page | sitemap | aboutus   
Copyright ® 2002-2003 PHPE.NET. All rights reserved
Last updated:2002-11-22