[eluser]wakey[/eluser]
Hi,
I'm in the process of testing an application that I have built with a few users. There is a document upload section which should only allow certain types of files -
Code:
// Upload configuration
$config['upload_path'] = './uploads/';
$config['allowed_types'] = 'doc|docx|docm|dotx|dotm|xlsx|xlsm|xltx|xltm|xlsb|xlam|pptx|pptm|potx|potm|ppam|ppsx|ppsm|pdf';
$config['max_size'] = '1000';
$config['encrypt_name'] = TRUE;
I have noticed that other files are getting through. Some .mx4 files have been uploaded and I can upload my iTunes Library files. Other files are blocked such as swf, html, php etc.
Any ideas why it is allowing a few random files?