From:             gnarf at gnarf dot net
Operating system: FreeBSD 4.8
PHP version:      4.3.9
PHP Bug Type:     CGI related
Bug description:  When /var/tmp was deleted, File Uploads break with no error 
messages

Description:
------------
/var/tmp was somehow deleted on my machine.  Which is 
the root of this problem, however file uploading got 
completely broken... _FILES had no data in it although 
the file was being uploaded just fine.  I wouldn't 
expect the file uploading to work when the tmp directory 
was missing, however, there were no error messages or 
anything to elude to what the problem was.

Reproduce code:
---------------
<? 
  print_r($_FILES);
?>
<form enctype="multipart/form-data" method=POST>
<input type=file name="file">
</form>

Expected result:
----------------
You would expect to see the files information...

Actual result:
--------------
$_FILES was empty...

-- 
Edit bug report at http://bugs.php.net/?id=30750&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=30750&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=30750&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=30750&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=30750&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=30750&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=30750&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=30750&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=30750&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=30750&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=30750&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=30750&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=30750&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=30750&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=30750&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=30750&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=30750&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=30750&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=30750&r=float
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=30750&r=mysqlcfg

Reply via email to