note 42409 added to function.link

From: Date: Sat, 15 May 2004 08:28:30 +0000
Subject: note 42409 added to function.link
Groups: php.notes 
Request: Send a blank email to php-notes+get-69629@lists.php.net to get a copy of this message
I think kop is confused regarding the semantics of link's argument order. The user's comment states that target should not already exist, suggesting that it is the target that is being created. As with the UNIX hardlink, ln(1), the target is the existing file. I think kop meant to say php's link() will return an error if the second parameter, the link being created, already exists. Also, as with the UNIX system call link will fail if the link being created exists on a different filesystem. ---- Manual Page -- http://www.php.net/manual/en/function.link.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+42409 Delete -- http://master.php.net/manage/user-notes.php?action=delete+42409&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+42409&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#69629) next »