What, if anything, is wrong with 开发者_StackOverflowthis code? I'm a beginner. I'm trying to include a header file but when I test and try to load it says it's not working.
<?php include("http://test.orwallo.com/widget_corp/includes/header.php"); ?>
I can't tell for your HTTP 500
error. But you are clearly using include()
wrong.
The include
or require_once
statement is used to load local php files. You should not have a reason to include URLs. Rewrite it to:
<?php
require_once("./includes/functions.php");
include("./includes/header.php");
?>
Adapt the path.
i tried to open this file but it appears that it's not exist
精彩评论