ID: 44927 Updated by: [EMAIL PROTECTED] Reported By: m dot kirmel at fk-automotive dot de -Status: Open +Status: Bogus Bug Type: Filesystem function related Operating System: Linux infong 2.4 #1 SMP Wed Sep PHP Version: 4.4.8 New Comment:
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. . Previous Comments: ------------------------------------------------------------------------ [2008-05-06 12:51:20] m dot kirmel at fk-automotive dot de Description: ------------ IT SIMPLY DOES NOT WORK! (PHP 4.4.8) Reproduce code: --------------- $file = 'picture.jpg'; if ( unset("UPLOADED_CHECK/" . $file ) ) { echo '<small style="color:green;">File: \'' . $file . '\' deleted.</small><br>' ;} else { echo '<small style="color:red;">File: \'' . $file . '\' is not deleted.</small><br>' ;} Expected result: ---------------- delete file: UPLOADED_CHECK/picture.jpg Actual result: -------------- unset returns always false! ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=44927&edit=1