ID:               29634
 Updated by:       [EMAIL PROTECTED]
 Reported By:      thu at nykredit dot dk
-Status:           Open
+Status:           Bogus
 Bug Type:         *General Issues
 Operating System: Fedora 2
 PHP Version:      5.0.0
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

.


Previous Comments:
------------------------------------------------------------------------

[2004-08-12 16:21:17] thu at nykredit dot dk

Description:
------------
I cannot get any content into $_FILES it is recognized as an array - 
but an empty array.
I have set (after having tried default settings):
 upload_tmp_dir=/var/www/uploads
 open_basedir=/var/www
 file_uploads=on
 register_globals=on

I have also tried to chmod 777 on the upload dir!.

Reproduce code:
---------------
FILE1: upload.php
<form enctype="multipart/form-data" action="upload_submit.php"
method="POST">
<input type=file name=thufile>
<input type=submit>
</form>

FILE2: upload_submit.php
<?php
print_r($_FILES)
?>

Expected result:
----------------
SOMETHING LIKE THIS...

Array ( [thufile] => Array ( [name] => mirror.html [type] => text/html
[tmp_name] => /tmp/phpAAFggh [size] => 38391 ) )

Actual result:
--------------
Array()


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=29634&edit=1

Reply via email to