-
client_area script
err ….. sorry, im back re the upload script 🙂
I have edited the config to allow uploading of zip but uploads always fail.
Any hints would be much appreciated.
regards
MarkI think this is the relevant config section…………..:
$FILE_EXTENSIONS = array(
“audio” => array(“mp3″,”aif”,”aiff”, “wav”),
“image” => array(“jpg”,”jpeg”, “gif”, “png”),
“msoffice_access” => array(“mdb”),
“msoffice_excel” => array(“xls”),
“msoffice_ppt” => array(“ppt”),
“msoffice_project” => array(“mmp”),
“msoffice_word” => array(“doc”),
“pdf” => array(“pdf”),
“text” => array(“rtf”, “txt”),
“video” => array(“mov”, “avi”, “mpeg”),
“web” => array(“html”, “htm”, “js”, “css” , “zip”),
);/////////////////////////////////////////////////////////////
// acceptable file types for uploads – be VERY careful
// should be noted that this is rather dangerous and it is
/////////////////////////////////////////////////////////////$ACCEPTABLE_UPLOAD_FILE_TYPES = array(
“text/html” => 50000000,
“image/pjpeg” => 50000000,
“image/jpeg” => 50000000,
“image/jpg” => 50000000,
“image/gif” => 50000000,
“video/quicktime” => 200000000,
“web/zip” => 200000000,
);