|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-05-06 13:02 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sat Feb 07 08:00:01 2026 UTC |
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!