Recent Topics

1 Feb 15, 2006 11:11    

Hi,

Is there any way of allowing uploads of other files other than .jpg etc? (E.g. I want to enable uploads of .doc and other file formats). I'd also like to change the allowed file size. Is this possible, and if so how?

Thanks

Eric

2 Feb 15, 2006 15:53

What version are you using?

3 Feb 16, 2006 10:43

I'm using version 0.9.1.

Thanks

Eric

4 Feb 16, 2006 11:01

conf/_admin.php :-

/**
 * Accepted file types, you can add to that list if you want.
 *
 * Note: add a space before and after each file type.
 * Example: $fileupload_allowedtypes = ' jpg gif png ';
 *
 * @global string $fileupload_allowedtypes
 */
$fileupload_allowedtypes = ' jpg gif png ';

/**
 * by default, most servers limit the size of uploads to 2048 KB
 * if you want to set it to a lower value, here it is (you cannot set a higher value)
 *
 * @global int $fileupload_maxk
 */
$fileupload_maxk = '128'; // in kilo bytes

¥

5 Feb 16, 2006 12:32

Brilliant, thanks for that - got it.


Form is loading...