|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-04-23 06:24 UTC] hannes dot dorn at ibit dot at
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
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 19:00:02 2025 UTC |
If you look at the PHP 5.4.x code you will see that notice in main/rfc1867.c but it looks like this: #if DEBUG_FILE_UPLOAD sapi_module.sapi_error(E_NOTICE, "No file uploaded"); #endif DEBUG_FILE_UPLOAD is only turned on if you build a DEBUG version of PHP.