ID: 21908 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: *General Issues Operating System: NetBSD-1.5.2 PHP Version: 4.3.0 New Comment:
What apache version? What is the output of your script? Previous Comments: ------------------------------------------------------------------------ [2003-01-27 12:38:44] [EMAIL PROTECTED] I am running the following code in php-4.3.0: <? $portrait = $_FILES["portrait"]; print "<hr>_FILES[portrait]: <pre>\n"; print_r($portrait); print "</pre>"; $portrait = $_GLOBALS["portrait"]; print "<hr>_FILES[portrait]: <pre>\n"; print_r($portrait); print $_FILES["portrait"]["error"]; print "</pre>"; ?> <form method="post" action="t.cgi" ENCTYPE="multipart/form-data"> <INPUT TYPE="hidden" name="MAX_FILE_SIZE" value="1000000"> <input type=file name=portrait> <input type="submit"> </form> The file does not appear to be uploaded. However, with php-4.2.3, everything works fine. I have confirmed that both file_uploads and register_globals are on. This problem occurs in both the apache module and the standalone version. is_uploaded_file() also reports failure with php-4.3.0. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21908&edit=1