السلام عليكم ورحمة الله وبركاته
أخواني الأعزاء لدي مركز تحميل بسيط لكن MIME أوفيس 2007 لم أجده وكذلك الامتداد لبرنامج WinRAR ومن يدلني علها فأكون شاكر ومقدر له
وجزاكم الله خيرا
السلام عليكم ورحمة الله وبركاته
أخواني الأعزاء لدي مركز تحميل بسيط لكن MIME أوفيس 2007 لم أجده وكذلك الامتداد لبرنامج WinRAR ومن يدلني علها فأكون شاكر ومقدر له
وجزاكم الله خيرا
__________________
تفضل بزيارة الموقع ::: طريق الدعوة:::
المصدركود PHP:
switch ($file_extension) {
case "pdf": $ctype="application/pdf"; break;
case "exe": $ctype="application/octet-stream"; break;
case "zip": $ctype="application/zip"; break;
case "doc": $ctype="application/msword"; break;
case "xls": $ctype="application/vnd.ms-excel"; break;
case "ppt": $ctype="application/vnd.ms-powerpoint"; break;
case "gif": $ctype="image/gif"; break;
case "png": $ctype="image/png"; break;
case "jpe": case "jpeg":
case "jpg": $ctype="image/jpg"; break;
case "php":
case "htm":
case "html":
//###################### الأمتدادات الممنوعه ضعها هنا ####################//
case "txt": die("أمتداد غير معروف لدينا"); break;
default: die("أمتداد غير معروف لدينا");
}
http://www.swalif.net/softs/swalif45...7/#post1522510
وجدت هذا الرابط
Multimedia MIME Reference
ألف ألف شكر لك أخي عبدالواحد
لكن لو تلاحظ أخي عبدالواحد أنه الأوفيس 2007 تغيرت المتدادات فزاد عليها حرف x مثلا DOCX وهكذا
والامتداد الآخر هو ملفات وينرار rar
وأكرر شكري لك
__________________
تفضل بزيارة الموقع ::: طريق الدعوة:::
جرب تضيف x الى القديمة
قمت بالتجربه ولم تفد
لكن وجدت موضوع في أحد المتديات ممكن يوصلنا الى حل
http://www.itech4arab.com/forum/show...78&postcount=3
__________________
تفضل بزيارة الموقع ::: طريق الدعوة:::
وجدتها في احد المواقع:
كود:application/vnd.openxmlformats-officedocument.wordprocessingml.document docx application/vnd.ms-word.document.macroEnabled.12 docm application/vnd.openxmlformats-officedocument.wordprocessingml.template dotx application/vnd.ms-word.template.macroEnabled.12 dotm application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx application/vnd.ms-excel.sheet.macroEnabled.12 xlsm application/vnd.openxmlformats-officedocument.spreadsheetml.template xltx application/vnd.ms-excel.template.macroEnabled.12 xltm application/vnd.ms-excel.sheet.binary.macroEnabled.12 xlsb application/vnd.ms-excel.addin.macroEnabled.12 xlam application/vnd.openxmlformats-officedocument.presentationml.presentation pptx application/vnd.ms-powerpoint.presentation.macroEnabled.12 pptm application/vnd.openxmlformats-officedocument.presentationml.slideshow ppsx application/vnd.ms-powerpoint.slideshow.macroEnabled.12 ppsm application/vnd.openxmlformats-officedocument.presentationml.template potx application/vnd.ms-powerpoint.template.macroEnabled.12 potm application/vnd.ms-powerpoint.addin.macroEnabled.12 ppam application/vnd.openxmlformats-officedocument.presentationml.slide sldx application/vnd.ms-powerpoint.slide.macroEnabled.12 sldm application/vnd.ms-officetheme thmx application/onenote onetoc application/onenote onetoc2 application/onenote onetmp application/onenote onepkg
__________________
محمد حمود.