From:             m dot kirmel at fk-automotive dot de
Operating system: Linux infong 2.4 #1 SMP Wed Sep 
PHP version:      4.4.8
PHP Bug Type:     Filesystem function related
Bug description:  IT SIMPLY DOES NOT WORK!

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 bug report at http://bugs.php.net/?id=44927&edit=1
-- 
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=44927&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=44927&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=44927&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=44927&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=44927&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=44927&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=44927&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=44927&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=44927&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=44927&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=44927&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=44927&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=44927&r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=44927&r=php4
Daylight Savings:             http://bugs.php.net/fix.php?id=44927&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=44927&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=44927&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=44927&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=44927&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=44927&r=mysqlcfg

Reply via email to