vanlien129
03-08-2011, 09:49
Mình có dùng đoạn code bên dưới để xuất 1 file từ web sang word nhưng khi ra file word thì máy tính lại không hiện thị được hình ảnh của trang đó. Dùng link ảnh trên Server kiểu (http:///www.diachiweb.com/thumucanh/anh.jpg) thì lại không được.
Các bạn cho mình xin ý kiến phải làm sao. mình dùng windowserver 2k3
PHP Code:
header("Content-type: application/x-ms-download");
header("Content-Disposition: attachment; filename=01.doc");
header('Cache-Control: public');
Các bạn cho mình xin ý kiến phải làm sao. mình dùng windowserver 2k3
PHP Code:
header("Content-type: application/x-ms-download");
header("Content-Disposition: attachment; filename=01.doc");
header('Cache-Control: public');