Mailinglisten-Archive |
>> in der $userfile steht der komplette pfad mit file-namen zum temporären >> file.. > Hmm?? $userfile ist doch ein Array! Oder sprechen wir hier von PHP3? nope, du verwechselt da was.... http://www.php3.de/manual/en/features.file-upload.php $userfile - The temporary filename in which the uploaded file was stored on the server machine. $userfile_name - The original name or path of the file on the sender's system. $userfile_size - The size of the uploaded file in bytes. $userfile_type - The mime type of the file if the browser provided this information. An example would be "image/gif". ODER The contents of $HTTP_POST_FILES are as follows. Note that this assumes the use of the file upload name 'userfile', as used in the example above: $HTTP_POST_FILES['userfile']['name'] The original name of the file on the client machine. $HTTP_POST_FILES['userfile']['type'] The mime type of the file, if the browser provided this information. An example would be "image/gif". $HTTP_POST_FILES['userfile']['size'] The size, in bytes, of the uploaded file. $HTTP_POST_FILES['userfile']['tmp_name'] The temporary filename of the file in which the uploaded file was stored on the server. -- Kai Meder kai.meder_(at)_cn-media.de
php::bar PHP Wiki - Listenarchive