Problem uploading PDF Files |
[eluser]marcello romani[/eluser]
Hallo everybody, I have the same problem: I cannot upload PDF files because the mime type is not allowed even though I have it in allowed_types: Code: $upload_config['allowed_types'] = 'pdf|txt|jpg|png'; I see the problem with FF 3.5.7 on Ubuntu 9.10 (the exact user agent string is "Mozilla/5.0 (X11; U; Linux i686; it; rv:1.9.1.7) Gecko/20100106 Ubuntu/9.10 (karmic) Firefox/3.5.7"). However, I can upload pdfs just fine with IE 7 on Windows XP SP3 (exact IE version is 7.0.5730.13). I have used Wireshark and I found something interesting: FF sends the file as text/html, while IE sends the same file as application/pdf. So it seems it's not a CI bug, but rather a FF one! Partial dump of FF session: Quote:POST /~marcello/php/ci_doctrine_upload/index.php/upload/submit HTTP/1.1 Partial dump of IE session: Quote:POST /~marcello/php/ci_doctrine_upload/index.php/upload/submit HTTP/1.1 |
Messages In This Thread |
Problem uploading PDF Files - by El Forum - 01-31-2008, 02:21 AM
Problem uploading PDF Files - by El Forum - 01-31-2008, 02:33 AM
Problem uploading PDF Files - by El Forum - 01-31-2008, 02:41 AM
Problem uploading PDF Files - by El Forum - 01-31-2008, 02:56 AM
Problem uploading PDF Files - by El Forum - 01-31-2008, 02:59 AM
Problem uploading PDF Files - by El Forum - 04-10-2008, 10:41 PM
Problem uploading PDF Files - by El Forum - 05-13-2008, 11:00 AM
Problem uploading PDF Files - by El Forum - 07-15-2008, 09:53 AM
Problem uploading PDF Files - by El Forum - 08-14-2008, 10:59 PM
Problem uploading PDF Files - by El Forum - 08-21-2008, 11:29 AM
Problem uploading PDF Files - by El Forum - 04-21-2009, 08:17 AM
Problem uploading PDF Files - by El Forum - 08-11-2009, 10:40 AM
Problem uploading PDF Files - by El Forum - 10-10-2009, 08:28 PM
Problem uploading PDF Files - by El Forum - 10-10-2009, 08:33 PM
Problem uploading PDF Files - by El Forum - 10-12-2009, 01:19 PM
Problem uploading PDF Files - by El Forum - 10-12-2009, 02:08 PM
Problem uploading PDF Files - by El Forum - 11-13-2009, 05:07 PM
Problem uploading PDF Files - by El Forum - 12-09-2009, 03:32 AM
Problem uploading PDF Files - by El Forum - 01-08-2010, 06:03 AM
Problem uploading PDF Files - by El Forum - 01-08-2010, 07:07 AM
Problem uploading PDF Files - by El Forum - 01-08-2010, 07:36 AM
Problem uploading PDF Files - by El Forum - 01-08-2010, 07:55 AM
Problem uploading PDF Files - by El Forum - 02-02-2010, 03:15 PM
Problem uploading PDF Files - by El Forum - 02-02-2010, 04:32 PM
Problem uploading PDF Files - by El Forum - 04-25-2010, 04:19 AM
Problem uploading PDF Files - by El Forum - 04-25-2010, 06:42 AM
Problem uploading PDF Files - by El Forum - 04-28-2010, 09:55 AM
Problem uploading PDF Files - by El Forum - 07-27-2010, 09:28 AM
Problem uploading PDF Files - by El Forum - 01-24-2011, 03:38 AM
Problem uploading PDF Files - by El Forum - 01-24-2011, 10:34 AM
Problem uploading PDF Files - by El Forum - 07-20-2011, 02:39 AM
|