RE: [PHP] Encoding for uploaded files
| From: | craig | Date: | Thu, 29 Jan 2004 18:10:41 +0000 |
| Subject: | RE: [PHP] Encoding for uploaded files | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-176244@lists.php.net to get a copy of this message | ||
> 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 actual encoding. =(
-Craig
>
> Cesar
>
> craig wrote:
>
> > check out http://www.php.net/manual/en/features.file-upload.php,ÜQ$f
> > a.„þ9>ˆëÉ
> > 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:phpguru@cesamo.com]
> >>Sent: January 29, 2004 10:35 AM
> >>To: php-general@lists.php.net
> >>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
> >>
> >>
> >
> >
>
>