On 29 Jan 2004 at 10:47, craig wrote:
> specifally, you want: $_FILES['userfile']['type'] = The mime type of
> the file, if the browser provided this information. An example would
> be "image/gif".
That's basically it and will work for common file types. However, it's the user's
browser,
not P
> I don't know if you are right here, or maybe I don't understood
> correctly... the file type is actually the encoding of the
> file? If a
> file type is text/plain, where is the encoding format? ISO-8859-1?
>
> Puzzled!
sorry, I misunderstood the question.
I have no idea of how to get the
I don't know if you are right here, or maybe I don't understood
correctly... the file type is actually the encoding of the file? If a
file type is text/plain, where is the encoding format? ISO-8859-1?
Puzzled!
Cesar
craig wrote:
check out http://www.php.net/manual/en/features.file-upload.ph
check out http://www.php.net/manual/en/features.file-upload.php,
it spells out the entire upload process
specifally, you want:
$_FILES['userfile']['type'] = The mime type of the file, if
the browser provided this information. An example would
be "image/gif".
-Craig
> -Original Message
4 matches
Mail list logo