ID:               28395
 Updated by:       [EMAIL PROTECTED]
 Reported By:      si at bananas dot hopto dot org
-Status:           Open
+Status:           Feedback
 Bug Type:         *General Issues
 Operating System: Windows 2000 Apache2
 PHP Version:      5.0.0RC2
 New Comment:

Please provide the original form you are using to post to this script.


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

[2004-06-20 23:37:55] DelislMa at CollegeSherbrooke dot qc dot ca

I tested uploads with php5-200406081430.
In php.ini, my upload_tmp_dir was empty, as PHP is supposed
to use the system default. But it did not.
Setting upload_tmp_dir to /tmp solved the problem for me.

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

[2004-06-12 21:37:28] anthony dot parsons at manx dot net

I think I found the problem: open_basedir seems to be blocking PHP from
accessing the directory where the temporary uploaded files are stored.
The only way I could get uploads to work with an open_basedir set is by
having upload_tmp_dir set to a path inside that.

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

[2004-05-23 06:44:53] webmaster at script-tease dot net

I'm using php4.3.7-dev as well and encounter no problem with file
uploads...

http://cpi.merseine.nu:8080/files.php
http://cpi.merseine.nu:8080/files.phps

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

[2004-05-23 02:33:43] anthony dot parsons at manx dot net

Not just limited to PHP 5: I'm seeing this problem with PHP 4.3.7-dev
as well (build date May 22 2004 22:12:55).

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

[2004-05-19 20:36:00] anthony dot parsons at manx dot net

Similar problem with RC1 using WinXP + Apache 2, as well as a May 14th
build. I haven't been able to make uploads work at all.

Here's a more basic testcase, for me the print_r always returns an
empty array (on RC1 and later) whether a file is uploaded or not:

<?php
if (isset ($_POST['submit']))
        print_r ($_FILES);
?>
<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post">
<input type="file" name="file1" />
<input type="submit" name="submit" />
</form>

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/28395

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

Reply via email to