[請益] GD圖如何轉word檔
我想問一下有關PHP GD圖檔要存成word檔的問題
我的header的部份寫法如下:
header('Content-Type: text/html; charset=big5');
header('Content-Disposition: attachment; filename=test.doc');
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
<img src=graph_job.php>
圖檔的連結也已改成絕對網址
如:<img src=http://www.example.com/graph_job.php>
表格與圖片都有出現在word檔中了
但是GD圖卻只有圖,而沒有資料,變成空空的一張圖
請問還有什麼地方要再作修改的呢?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.216.179.220
推
11/18 21:53, , 1F
11/18 21:53, 1F
→
11/18 21:53, , 2F
11/18 21:53, 2F
→
11/18 21:54, , 3F
11/18 21:54, 3F
討論串 (同標題文章)
PHP 近期熱門文章
PTT數位生活區 即時熱門文章
151
156