phpbar.de logo

Mailinglisten-Archive

[php] =?iso-8859-1?Q?Re:_=5Bphp=5D_Re:_=5Bphp=5D_Re:_Re:_=5Bphp=5D_Tempor?= =?iso-8859-1?Q?=E4re_r_Pfad_beim_upload?=

[php] Re: [php] Re: [php] Re: Re: [php] Tempor äre r Pfad beim upload

Kai Meder php_(at)_phpcenter.de
Tue, 17 Apr 2001 14:07:29 +0200


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