What, if anything, is wrong with this 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
it's not working. What's the real error message?HTTP/1.1 500 Internal Server Error. You'll have to look into yourerror.logto find out the reason.