note 113854 added to function.unlink
| From: | deen804 at gmail dot com | Date: | Tue, 10 Dec 2013 06:14:42 +0000 |
| Subject: | note 113854 added to function.unlink | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-197888@lists.php.net to get a copy of this message | ||
unlink($fileName); failed for me .
Then i tried using the realpath($fileName) function as
unlink(realpath($fileName)); it worked
just posting it , in case if any one finds it useful .
----
Server IP: 103.21.58.218
Probable Submitter: 182.72.156.65
----
Manual Page -- http://php.net/manual/en/function.unlink.php
Edit -- https://master.php.net/note/edit/113854
Del: integrated -- https://master.php.net/note/delete/113854/integrated
Del: useless -- https://master.php.net/note/delete/113854/useless
Del: bad code -- https://master.php.net/note/delete/113854/bad+code
Del: spam -- https://master.php.net/note/delete/113854/spam
Del: non-english -- https://master.php.net/note/delete/113854/non-english
Del: in docs -- https://master.php.net/note/delete/113854/in+docs
Del: other reasons-- https://master.php.net/note/delete/113854
Reject -- https://master.php.net/note/reject/113854
Search -- https://master.php.net/manage/user-notes.php