BMS-HOSxP Community
HOSxP => นอกเรื่อง => ข้อความที่เริ่มโดย: panus_t ที่ พฤศจิกายน 22, 2012, 10:38:36 AM
-
สอบถาม การทำลิงค์ Download
1.ใช้ Appserv 2.5.10
2.ทำลิงค์ไปที่ไฟล์เพื่อให้ดาวน์โหลด เช่น
http://192.168.1.231/nurse/ER/การพัฒนาความรูักระบวนการเบาหวาน.pptx
ปัญหาคือไฟล์ที่มี นามสกุล 4 ตัว เช่น docx pptx xlsx
เมื่อดาวน์โหลดแล้วจะเป็นไฟล์ zip เมื่อเปิดไฟล์ zip มาดู ข้างในเป็นไฟล์อะไรไม่รู้ครับ ;D ???
สามารถแก้ไขได้อย่างไรครับ
-
rename to dm.zip ง่ายกว่า ก่อนนำไปวางให้ดาวน์โหลด
-
สอบถาม การทำลิงค์ Download
1.ใช้ Appserv 2.5.10
2.ทำลิงค์ไปที่ไฟล์เพื่อให้ดาวน์โหลด เช่น
http://192.168.1.231/nurse/ER/การพัฒนาความรูักระบวนการเบาหวาน.pptx
ปัญหาคือไฟล์ที่มี นามสกุล 4 ตัว เช่น docx pptx xlsx
เมื่อดาวน์โหลดแล้วจะเป็นไฟล์ zip เมื่อเปิดไฟล์ zip มาดู ข้างในเป็นไฟล์อะไรไม่รู้ครับ ;D ???
สามารถแก้ไขได้อย่างไรครับ
จากรูปตอน download บันทึกนามสกุลผิด เพราะ
นามสกุล 4 ตัว เช่น docx pptx xlsx มันจะใช้การบีบอัดคล้าย zip ไฟล์แล้ว
ต้องเปลียนนามสกุลก่อนแล้วค่อยเปิด
แต่แนะนำให้ zip ไฟล์ก่อนให้ download
-
BROWSERที่ใช้ดาวน์โหลด คือ ????
-
BROWSERที่ใช้ดาวน์โหลด คือ ????
IE8 ครับ ส่วน Chome ทดสอบเมื่อสักพักได้เฉยเลยครับ :o ;D สงสัยต้องเปลี่ยน Browser :D
-
add the following to the /etc/mime.types file and restart apache and the problem should be fixed.
# Added by myname 2009-06-03
application/vnd.ms-word.document.macroEnabled.12 docm
application/vnd.openxmlformats-officedocument.wordprocessingml.document docx
application/vnd.openxmlformats-officedocument.wordprocessingml.template dotx
application/vnd.ms-powerpoint.template.macroEnabled.12 potm
application/vnd.openxmlformats-officedocument.presentationml.template potx
application/vnd.ms-powerpoint.addin.macroEnabled.12 ppam
application/vnd.ms-powerpoint.slideshow.macroEnabled.12 ppsm
application/vnd.openxmlformats-officedocument.presentationml.slideshow ppsx
application/vnd.ms-powerpoint.presentation.macroEnabled.12 pptm
application/vnd.openxmlformats-officedocument.presentationml.presentation pptx
application/vnd.ms-excel.addin.macroEnabled.12 xlam
application/vnd.ms-excel.sheet.binary.macroEnabled.12 xlsb
application/vnd.ms-excel.sheet.macroEnabled.12 xlsm
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx
application/vnd.ms-excel.template.macroEnabled.12 xltm
application/vnd.openxmlformats-officedocument.spreadsheetml.template xltx
-
8) ใช้ Chome ดีกว่าขอรับ เร็วได้ใจนะขอรับ ;D
-
add the following to the /etc/mime.types file and restart apache and the problem should be fixed.
# Added by myname 2009-06-03
application/vnd.ms-word.document.macroEnabled.12 docm
application/vnd.openxmlformats-officedocument.wordprocessingml.document docx
application/vnd.openxmlformats-officedocument.wordprocessingml.template dotx
application/vnd.ms-powerpoint.template.macroEnabled.12 potm
application/vnd.openxmlformats-officedocument.presentationml.template potx
application/vnd.ms-powerpoint.addin.macroEnabled.12 ppam
application/vnd.ms-powerpoint.slideshow.macroEnabled.12 ppsm
application/vnd.openxmlformats-officedocument.presentationml.slideshow ppsx
application/vnd.ms-powerpoint.presentation.macroEnabled.12 pptm
application/vnd.openxmlformats-officedocument.presentationml.presentation pptx
application/vnd.ms-excel.addin.macroEnabled.12 xlam
application/vnd.ms-excel.sheet.binary.macroEnabled.12 xlsb
application/vnd.ms-excel.sheet.macroEnabled.12 xlsm
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx
application/vnd.ms-excel.template.macroEnabled.12 xltm
application/vnd.openxmlformats-officedocument.spreadsheetml.template xltx
ขอบคุณครับ... ใช้ได้แล้วครับ ;D เยี่ยมมาก 100 Thank ครับ
-
สอบถามเพิ่มเติมครับ ลองใน CentOS ทำลิงค์ไฟล์ภาษาไทยไม่ได้ครับ
http://192.168.1.231/nurse/ER/การพัฒนาความรูักระบวนการเบาหวาน.pptx
พอจะมีแนวทางการแก้ไขหรือเปล่าครับ... ;D
-
;D ลองเปลี่ยนเป็นภาษาต่างประเทศ น่าจะได้นะ ;D
-
ที่โรงพยาบาลผมก็เป็นครับ IE ไม่ค่อยรองรับเรื่อง html5 เท่าไหร่
ผมเขียน web mail ให้ ก็โดนบ่นว่าโหลดไฟล์ไม่ค่อยได้เลย โหลดมาเป็นไฟล์อะไรก็ไม่รู้
ทั้งๆ ได้ที่ย้ำไว้ว่า ให้เปิดใน google chrome เท่านั้น
ทำไมชอบยึดติดในของเก่าจัง ไม่ยอมรับการเปลี่ยนแปลงสิ่งใหม่ๆ :(
-
add the following to the /etc/mime.types file and restart apache and the problem should be fixed.
# Added by myname 2009-06-03
application/vnd.ms-word.document.macroEnabled.12 docm
application/vnd.openxmlformats-officedocument.wordprocessingml.document docx
application/vnd.openxmlformats-officedocument.wordprocessingml.template dotx
application/vnd.ms-powerpoint.template.macroEnabled.12 potm
application/vnd.openxmlformats-officedocument.presentationml.template potx
application/vnd.ms-powerpoint.addin.macroEnabled.12 ppam
application/vnd.ms-powerpoint.slideshow.macroEnabled.12 ppsm
application/vnd.openxmlformats-officedocument.presentationml.slideshow ppsx
application/vnd.ms-powerpoint.presentation.macroEnabled.12 pptm
application/vnd.openxmlformats-officedocument.presentationml.presentation pptx
application/vnd.ms-excel.addin.macroEnabled.12 xlam
application/vnd.ms-excel.sheet.binary.macroEnabled.12 xlsb
application/vnd.ms-excel.sheet.macroEnabled.12 xlsm
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx
application/vnd.ms-excel.template.macroEnabled.12 xltm
application/vnd.openxmlformats-officedocument.spreadsheetml.template xltx
ขอบคุณครับ... ใช้ได้แล้วครับ ;D เยี่ยมมาก 100 Thank ครับ
แบบนี้ใช้ได้ทุก Browser ครับ แก้ที่ต้นเหตุ