Welcome Guest, Not a member yet? Register   Sign In
The filetype you are attempting to upload is not allowed for uploading .php and .htm
#1

[eluser]Genuine Scope[/eluser]
mimes.php

Code:
'php' => 'application/x-httpd-php',
        'php'   =>      'text/html',
        'php4' => 'application/x-httpd-php',
        'php3' => 'application/x-httpd-php',
        'phtml' => 'application/x-httpd-php',
        'phps' => 'application/x-httpd-php-source',
        'php' =>      'text/php',
        'php' =>      'text/x-php',
        'php' =>      'application/php',
        'php' =>      'application/x-php',
        'html' => 'text/html',
        'htm' => 'text/html',
        'htm' => 'text/html',
        'shtml' => 'text/html',

in the controller allowed types were added as follows
Code:
$config['allowed_types'] = 'PHP|php|php4|php3|html|HTML|htm|HTM';

but cannot upload .php and .htm files


Messages In This Thread
The filetype you are attempting to upload is not allowed for uploading .php and .htm - by El Forum - 04-24-2012, 11:10 PM



Theme © iAndrew 2016 - Forum software by © MyBB