php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32792 unlink() function says the file doesn't exists when it does
Submitted: 2005-04-21 20:35 UTC Modified: 2005-04-25 11:00 UTC
From: hans dot vdb at gmail dot com Assigned:
Status: Not a bug Package: Filesystem function related
PHP Version: 4.3.10 OS: redhat linus
Private report: No CVE-ID: None
 [2005-04-21 20:35 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-04-24 15:28 UTC] 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-24 15:54 UTC] 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:59 UTC] hans dot vdb at gmail dot com
okay, thanks for your reply
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 15:01:32 2024 UTC