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.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-----
From: Cesar Cordovez [mailto:[EMAIL PROTECTED]
Sent: January 29, 2004 10:35 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Encoding for uploaded files


Hi list!


How can I know the encoding for an uploaded file?

Thanks!

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to