【发布时间】:2019-07-17 19:58:48
【问题描述】:
我创建了一个域,但该域的所有函数和类都将存储在另一个域中。但我无法使用 include 或 require 方法获取页面。我收到以下错误:
警告:include_once() [function.include-once]:无法在第 3 行的 /domain.com/includes/functions.php 中启用加密警告:include_once(https:/other_domain.com/access.php) [ function.include-once]:打开流失败:第 3 行 /domain.com/includes/functions.php 中的操作失败警告:include_once() [function.include]:打开“otherdomain.com/access.php”失败在第 3 行的 /domain.com/includes/functions.php 中包含 (include_path='.:/opt/php52/lib/php')
【问题讨论】:
-
您是否在新域上打开了错误报告?我很想知道当您尝试 include 或 require 时会出现什么错误。
-
警告:include_once() [function.include-once]:无法在第 3 行的 /domain.com/includes/functions.php 中启用加密警告:include_once(https:/other_domain.com/ access.php)[function.include-once]:打开流失败:第 3 行 /domain.com/includes/functions.php 中的操作失败警告:include_once() [function.include]:打开 'otherdomain.com 失败/access.php' 用于在第 3 行的 /domain.com/includes/functions.php 中包含 (include_path='.:/opt/php52/lib/php')
标签: php ssl url cross-domain