Subscribe 102

Upload Mod v1.1.0

Users can upload files and pictures on a forum directly in post.

PHP 5.6+
Language: Russian/English/French/German
Administrators have no restrictions on volume of loaded files (It is limited by server/PHP options).
Moderators have one limit, users - another.
It is possible to set extensions of the files to uploading. I don't recommend to upload flash!!!
Strictly forbidden (in code) files with extensions phtml, php, php3, php4, php5, php6, phps, cgi, exe, pl, asp, aspx, shtml, shtm, fcgi, fpl, jsp, htm, html, wml, htaccess.
For pictures of formats gif, jpeg, jpg, png, bmp, wbmp, xbm the preview (if library GD works) can be created.
All files after uploading are scanned on keywords in order to avoid XSS attacks.
For names of files there is transliteration to Latin.
Check conformity between extension and file format for picture and swf.
Thanks to bagu.