Welcome Guest, Not a member yet? Register   Sign In
Upload filetype not allowed??
#1

[eluser]123wesweat[/eluser]
Hi,

i have set these filetypes as allowed
Code:
$config['allowed_types'] = 'doc|docx|gif|jpeg|pdf|jpg|rtf|txt|text';

filetypes .doc .docx jpg gif jpeg all upload correct
but
.pdf .txt .text .rtf doesn't upload???

How can i fix this??

btw this is my htaccess
Code:
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /

    ### Canonicalize codeigniter URLs
    ### http://farinspace.com/2009/06/codeigniter-htaccess-file/
    ### http://ellislab.com/forums/viewthread/136195/

    # If your default controller is something other than
    # "welcome" you should probably change this
    #RewriteRule ^(main(/index)?|index(\.php)?)/?$ / [L,R=301]
    RewriteRule ^(main(/index)?|index(\.php)?)/$ / [L,R=301]
    RewriteRule ^(.*)/index/?$ $1 [L,R=301]

    # Removes trailing slashes (prevents SEO duplicate content issues)
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.+)/$ $1 [L,R=301]


    #Removes access to the system folder by users.
    #Additionally this will allow you to create a System.php controller,
    #previously this would not have been possible.
    #'system' can be replaced if you have renamed your system folder.
    RewriteCond %{REQUEST_URI} ^system.*
    RewriteRule ^(.*)$ /index.php?/$1 [L]

    #Checks to see if the user is attempting to access a valid file,
    #such as an image or css document, if this isn't true it sends the
    #request to index.php
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>

<IfModule !mod_rewrite.c>
    # If we don't have mod_rewrite installed, all 404's
    # can be sent to index.php, and everything works as normal.
    # Submitted by: ElliotHaughin

    ErrorDocument 404 /index.php
</IfModule>


Messages In This Thread
Upload filetype not allowed?? - by El Forum - 02-16-2010, 02:49 AM
Upload filetype not allowed?? - by El Forum - 02-16-2010, 02:59 AM
Upload filetype not allowed?? - by El Forum - 02-16-2010, 03:21 AM
Upload filetype not allowed?? - by El Forum - 02-16-2010, 03:44 AM
Upload filetype not allowed?? - by El Forum - 02-16-2010, 03:48 AM
Upload filetype not allowed?? - by El Forum - 02-16-2010, 04:03 AM
Upload filetype not allowed?? - by El Forum - 02-16-2010, 04:49 AM
Upload filetype not allowed?? - by El Forum - 02-16-2010, 05:38 AM
Upload filetype not allowed?? - by El Forum - 02-16-2010, 07:05 AM
Upload filetype not allowed?? - by El Forum - 02-17-2010, 02:19 AM
Upload filetype not allowed?? - by El Forum - 02-17-2010, 02:29 AM
Upload filetype not allowed?? - by El Forum - 02-17-2010, 02:50 AM
Upload filetype not allowed?? - by El Forum - 02-17-2010, 02:57 AM
Upload filetype not allowed?? - by El Forum - 02-17-2010, 03:01 AM
Upload filetype not allowed?? - by El Forum - 02-17-2010, 04:16 AM
Upload filetype not allowed?? - by El Forum - 02-20-2010, 06:55 AM
Upload filetype not allowed?? - by El Forum - 02-22-2010, 08:11 AM
Upload filetype not allowed?? - by El Forum - 04-23-2010, 03:47 AM
Upload filetype not allowed?? - by El Forum - 06-29-2010, 11:43 AM
Upload filetype not allowed?? - by El Forum - 07-14-2010, 04:34 AM
Upload filetype not allowed?? - by El Forum - 07-14-2010, 05:41 AM
Upload filetype not allowed?? - by El Forum - 07-14-2010, 05:43 AM
Upload filetype not allowed?? - by El Forum - 07-14-2010, 05:46 AM
Upload filetype not allowed?? - by El Forum - 07-14-2010, 05:48 AM
Upload filetype not allowed?? - by El Forum - 07-14-2010, 05:50 AM
Upload filetype not allowed?? - by El Forum - 07-14-2010, 04:08 PM
Upload filetype not allowed?? - by El Forum - 07-14-2010, 04:53 PM
Upload filetype not allowed?? - by El Forum - 07-14-2010, 05:06 PM
Upload filetype not allowed?? - by El Forum - 08-11-2012, 12:31 PM
Upload filetype not allowed?? - by El Forum - 09-06-2012, 01:50 PM



Theme © iAndrew 2016 - Forum software by © MyBB