Einzelnen Beitrag anzeigen
Alt 13.12.2004, 13:54   #7
T.dot
Master
 
Registriert seit: 13.08.2003
Beiträge: 624


Standard

ne, in $_FILES['file']['tmp_name']; steht der Temporäre Name drin, in $_FILES['file']['name'] der wirkliche.

vielleicht gibts auch ein $_FILES['file']['extension'] - keine Ahnung

mfg Thomas

[edit]
google hilft:

$_FILES['userfile']['name']
The original name of the file on the client machine.
$_FILES['userfile']['type']
The mime type of the file, if the browser provided this information. An example would be "image/gif".
$_FILES['userfile']['size']
The size, in bytes, of the uploaded file.
$_FILES['userfile']['tmp_name']
The temporary filename of the file in which the uploaded file was stored on the server.
$_FILES['userfile']['error']
The error code associated with this file upload. ['error'] was added in PHP 4.2.0.

bzw.
http://p2p.wrox.com/topic.asp?TOPIC_ID=2629

[/edit]
T.dot ist offline   Mit Zitat antworten