We have developed a form with various fields for a User to complete. Some of the fields on this form require the User to upload a file from a local or other network drive.
However, before we save the selected file on to the back end database, we must determine what type of file it is. Simply reading the extension is NOT sufficient. We must read the innards of the file (ie binary code) to determine it true type.
Does anyone have any pre-built code that we can leverage that provides this functionality?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
711
Lượt xem
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký