小编van*_*rag的帖子

包括$ page; 不工作

嗨,我把它包含在我的index.php中

include $page;
Run Code Online (Sandbox Code Playgroud)

但它不能在实时服务器上运行,但在我的Localhost上工作正常.我还在include ('includes/_ini.php');index.php页面的顶部包含了$page定义.请建议

在服务器上,它提供以下警告

Warning: include(?pgid=1&parid=&rid=1&lang=1) [function.include]: failed to open stream: No such file or directory in /opt/lampp/htdocs/mysite.com/index.php on line 290

Warning: include(?pgid=1&parid=&rid=1&lang=1) [function.include]: failed to open stream: No such file or directory in /opt/lampp/htdocs/mysite.com/index.php on line 290

Warning: include() [function.include]: Failed opening '?pgid=1&parid=&rid=1&lang=1' for inclusion (include_path='.:/opt/lampp/lib/php') in /opt/lampp/htdocs/mysite.com/index.php on line 290
Run Code Online (Sandbox Code Playgroud)

php

-3
推荐指数
1
解决办法
651
查看次数

标签 统计

php ×1