From: [EMAIL PROTECTED]
Operating system: Windows 2000 SP2, Apache 1.3.22
PHP version: 4.2.0
PHP Bug Type: Output Control
Bug description: Empty file upload field results in "No file uploaded in Unknown on
line 0" warn
maybe this is only a config issue in php.ini
test.htm:
<html>
<body>
<FORM METHOD="POST" ACTION="test.php" NAME="form"
enctype="multipart/form-data">
<INPUT TYPE="file" NAME="admin_field_image_big_row1"
MAXLENGTH="102400" SIZE="5" ACCEPT="image/*">
<input type="submit" name="submit" value="test">
</form>
</body>
</html>
test.php
<?php
foreach( $GLOBALS[ "HTTP_POST_VARS" ] as $sName => $sValue )
echo "$sName = $sValue<br>";
?>
--> Outputs warning No file uploaded in Unknown on line 0
Thanks,
Rasty
--
Edit bug report at http://bugs.php.net/?id=16747&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16747&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16747&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16747&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16747&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16747&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16747&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16747&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16747&r=submittedtwice