Edit report at http://bugs.php.net/bug.php?id=43511&edit=1
ID: 43511
Comment by: calicojack at gmail dot com
Reported by: marius dot radvan at yahoo dot com
Summary: unlink() gives "No error in..." warning
Status: No Feedback
Type: Bug
Package: *General Issues
Operating System: windows
PHP Version: 5.2.5
Block user comment: N
New Comment:
Getting this as of PHP Version 5.2.9-2 on Windows Server 2008.
if(ftp_put($connection, $dest, $source,FTP_ASCII)){
echo 'FTP Upload SUCCESS!';
ftp_close($connection);
unlink($source);
}
Previous Comments:
------------------------------------------------------------------------
[2008-12-22 01:36:11] admin at beyondmaster dot com
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 ...
------------------------------------------------------------------------
[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] [email protected]
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/bug.php?id=43511&edit=1