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

From: korba <email protected>
Operating system: Linux/RedHat 6.2
PHP version: 4.0.4pl1
PHP Bug Type: HTTP related
Bug description: File uploading problem

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

-- 
Edit Bug report at: http://bugs.php.net/?id=9450&edit=1

-- 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>