I am running file hosting script, but the problem is that the script is not allowing me to upload .rar files. Can anyone tell me how to add .rar extention to the lines below:
$valid_file_types = array(
array('avi', 'video/avi', 'Video Clip'),
array('avi', 'video/msvideo', 'Video Clip'),
array('avi', 'video/x-msvideo', 'Video Clip'),
array('jpg', 'image/jpeg', 'JPG Image'),
array('jpeg', 'image/jpeg', 'JPEG Image'),
array('jpg', 'image/pjpeg', 'JPG Image'),
array('jpeg', 'image/pjpeg', 'JPEG Image'),
array('zip', 'application/x-zip-compressed', 'Compressed Zip File'),
array('zip', 'application/zip', 'Compressed Zip File'),
array('zip', 'multipart/x-zip', 'Compressed Zip File')
);