#43511 [Com]: unlink() gives "No error in..." warning
ID: 43511
Comment by: admin at beyondmaster dot com
Reported By: marius dot radvan at yahoo dot com
Status: No Feedback
Bug Type: *General Issues
Operating System: windows
PHP Version: 5.2.5
New Comment:
I got the same error even trying to set chmod to 0777
chmod() [function.chmod]: No error in ... on line 34
Warning: unlink() [function.unlink]: No error in ...
Previous Comments:
------------------------------------------------------------------------
[2007-12-15 01:00:00] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2007-12-07 10:49:06] jani@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows (zip):
http://snaps.php.net/win32/php5.2-win32-latest.zip
For Windows (installer):
http://snaps.php.net/win32/php5.2-win32-installer-latest.msi
------------------------------------------------------------------------
[2007-12-06 07:42:07] marius dot radvan at yahoo dot com
Description:
------------
Warning: unlink() [function.unlink]: No error in C:\Program
Files\VertrigoServ\www\peluza.info\poze.php
i get this non error warning
Reproduce code:
---------------
if (($pext != "jpg") && ($pext != "jpeg")) {
unlink($_FILES['img']['tmp_name']);
?>
Expected result:
----------------
delete temp file
Actual result:
--------------
it shows me that warning
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=43511&edit=1
Thread (9 messages)