2023年3月4日 星期六

godaddy 的php指令file_get_contents無法使用的解決方法

原本題庫系統首頁都可以正常顯示,今天看網頁竟然是空白,查看錯誤訊息error_log看到PHP Warning:  file_get_contents(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in XXXX

這樣的訊息,上網查看一下原因是allow_url_fopen沒有開啟的問題,可是之前都可以正常使用,進到godday的cpanel查看功能是有開啟的,最後把它關閉再打開就正常了。


1.點選...再點選cPannel管理員


2.點選php


3.點選[Options],將allow_url_fopen的核取方法取消再點選

文章標題建議:【No-Code 實戰】AppSheet 掃描 ISBN 自動帶入書名:避開 Google Books API 的三大深坑

  前言 介紹為何選擇 AppSheet(開發快、行動端支援強)以及為何需要搭配 Google Apps Script (GAS) 呼叫 Google Books API。 技術架構 AppSheet : 負責掃描條碼(ISBN)並觸發自動化。 Google Apps Scrip...