看板 PHP 關於我們 聯絡資訊
php的Class A裡面 如果要include其他檔案(inc file)的function來使用如何include??? 我試過在Class A的php file裡面用require_once('xxx.inc'); Class A裡面的function無法看到xxx.inc的function 平常沒在用 請指教一下 thx -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 220.136.211.122
HuangJC :被當 global 了? 06/07 19:12
fillmore :結果是路徑有問題 當我沒問巴 正常是可以這樣用的 06/07 19:47