note 58323 deleted from function.realpath by mazzanet
| From: | mazzanet@php.net | Date: | Mon, 31 Oct 2005 20:14:15 +0000 |
| Subject: | note 58323 deleted from function.realpath by mazzanet | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-97892@lists.php.net to get a copy of this message | ||
Note Submitter: Psykocrash
----
I think that the problem comes owing to the fact that you used the address of a file, whereas the
function realpath() accept as parameter only an address of a folder.
realpath("./../file.txt"); // Error
realpath("./../"); // Ok