facebook og:image does not fetch image from php file that echoes the URL

不羁的心 提交于 2019-12-02 10:28:34

Sounds like the current path is not where the include file is. Try specifying the full path to the include file, eg:

include $_SERVER['DOCUMENT_ROOT'] . "/path/to/meta_gambar.php";

Another option is to use require instead of include - if there is a problem with the file or path, require will generate an error and give you some ideas about what is wrong.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!