note 101271 deleted from function.readlink by danbrown

From: Date: Mon, 06 Dec 2010 17:55:53 +0000
Subject: note 101271 deleted from function.readlink by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-174657@lists.php.net to get a copy of this message
Note Submitter: Franois Vespa ---- I totally agree with mookowg at gmail dot com! the realpath($link) function should be used instead of readlink(), also because realpath() returns absolute path, which is not the case of readlink() which can return the path relative of the link to the target (ex, ../target.txt)

« previous php.notes (#174657) next »