Vanilla 1.1.5 is a product of Lussumo. More Information: Documentation, Community Support.
Help keep Vanilla free:".$Configuration['DATABASE_TABLE_PREFIX']." $Context->Configuration['ATTACHMENTS_ALLOWED_FILETYPES'] = array (
'image/gif' => array('gif', 'GIF'),
'image/png' => array('png', 'PNG'),
'image/jpeg' => array('jpg', 'jpeg', 'JPG', 'JPEG'),
'image/pjpeg' => array('jpg', 'jpeg', 'JPG', 'JPEG'),
'application/pdf' => array('pdf', 'PDF'),
'application/x-pdf' => array('pdf', 'PDF'),
'application/msword' => array('doc', 'DOC', 'rtf', 'RTF'),
'application/asp-unknown' => array('zip', 'ZIP'),
'application/zip' => array('zip', 'ZIP'),
'application/x-zip-compressed' => array('zip', 'ZIP'),
'application/octet-stream' => array('rar', 'RAR', 'doc', 'DOC','w3d','W3D'),
'text/plain' => array('txt', 'TXT'),
'application/x-gzip' => array('gz', 'GZ', 'tar.gz', 'TAR.GZ'),
'application/download' => array('rar', 'RAR'),
'application/x-shockwave-flash' => array('swf', 'SWF'),
'application/x-director' => array('dcr', 'DCR'),
'video/quicktime' => array('mov', 'MOV'),
);Posted: Sunday, 8 April 2007 at 3:11PM
Posted: Sunday, 8 April 2007 at 5:32PM
header('Content-Disposition: attachment; filename="'.$FileName.'"'); to if (eregi('msie', $_SERVER['HTTP_USER_AGENT']))header('Content-Disposition: attachment; filename="'.urlencode($FileName).'"');
else header('Content-Disposition: attachment; filename="'.$FileName.'"');