我是直接看官網 https://phpspreadsheet.readthedocs.io/en/latest/ 先確認 Getting started 的...
autoloading 是比較原始的方式 現在我都丟給 composer 做了 (conposer + psr-4) https://www.google.co...
xls 檔案先不談。 如果是 xlsx 檔案的話,可以解壓縮後,用文字編輯器打開檔案。 基本上都是XML格式,搭配文件去解析內容。
getChartData 需要之前的 cookie 才拿得到資料 也許可以考慮直接跟第一個程式放在一起 當第一個程式拿到 session id 後 繼續給...