[PHP-DEV] PHP 4.0 Bug #9450 Updated: File uploading problem From: korba <email protected>
Date: 02/26/01

ID: 9450
User Update by: korba <email protected>
Status: Open
Bug Type: HTTP related
Description: File uploading problem

Ooops, I'm very sorry, it was my mistake... Of course everthing works fine, except when uploading picture, it contains "Content-type: ...." at the beginnig. But I guess it's different bug-report.

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

[2001-02-25 21:32:34] korba <email protected>
Ok, I have simple form:
<form type="multipart/form-data" action="./upld.php" method="post">
...
<input type="file" name="userfile">
...
</form>

and upld.php contains something like this:
...
copy($userfile, $newfile);
...

The problem is:
$userfile, instead of temporary file name, contains original senders's local file name
$userfile_name is empty

If I didn't provide enought information, please drop me a note :-)
Good luck,
Korba

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

Full Bug description available at: http://bugs.php.net/?id=9450

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>