Upload problem with MIME type
| From: | Jean-Baptiste CROUIGNEAU | Date: | Fri, 26 Apr 2002 14:25:59 +0000 |
| Subject: | Upload problem with MIME type | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-83366@lists.php.net to get a copy of this message | ||
Hello!
I've got a problem uploading files (PDF, TXT, others...).
I'm building an intranet for my compagny (I work on a local network). I've already
write some
upload functions in PHP for others sites with success, but this time I have a strange thing :
I receive the file, I can copy it, I have the size, the name, but not the MIME type! The
variable _type is empty... And I can see the type directly at the beginning of the copied file!
The problem seems to come from the form : the size of the received file is different than the
original file...
Does anybody know this problem? Can you help me?
Thank's a lot!
Jibs.
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com