#32792 [Bgs->Csd]: unlink() function says the file doesn't exists when it does
| From: | hans dot vdb at gmail dot com | Date: | Sun, 24 Apr 2005 13:59:42 +0000 |
| Subject: | #32792 [Bgs->Csd]: unlink() function says the file doesn't exists when it does | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-78108@lists.php.net to get a copy of this message | ||
ID: 32792
User updated by: hans dot vdb at gmail dot com
Reported By: hans dot vdb at gmail dot com
-Status: Bogus
+Status: Closed
Bug Type: Filesystem function related
Operating System: redhat linus
PHP Version: 4.3.10
New Comment:
okay, thanks for your reply
Previous Comments:
------------------------------------------------------------------------
[2005-04-24 15:54:54] sniper@php.net
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
------------------------------------------------------------------------
[2005-04-24 15:28:08] hans dot vdb at gmail dot com
Sorry, I'm not a system admin, is that version 4.3.11 because I tested
it on that version and it gives the same.
Regards
------------------------------------------------------------------------
[2005-04-21 22:48:25] iliaa@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
[2005-04-21 20:35:24] hans dot vdb at gmail dot com
Description:
------------
The unlink() function says a file doesn't exist although it does
exists. I checked it with the file_exist() function, which returns
true.
It might be during the filename that is complicated (with a date in
it).
I can send you the whole source of the script but I think this is
sufficient to understand the error.
Thanks for your time.
Reproduce code:
---------------
http://electricsixforum.com/bug.zip
The needed code is in the backup.php file on line 142
Expected result:
----------------
(no output)
Actual result:
--------------
Warning: unlink(backups/backup 21-04-2005 13:04:54.tar.gz
): No such file or directory in
/home/babybab/public_html/backup/backup.php on line 142
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32792&edit=1