include header doesnt work!
-
Hi i have tried to include header but nothing seems to working out!
i have folder in ../blogs/test/header.phpIn header.php i have code:
<html><head>
<?php include (‘https://www.example.net/wp-content/themes/k2/header.php’); ?>
</head>
<body>
content
</body>
</html>when i visit : blogs.example.net/test/header.php
it returns:Warning: main(https://www.example.net/wp-content/themes/k2/header.php) [function.main]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/example/public_html/blogs/test/header.php on line 2
Warning: main() [function.include]: Failed opening ‘https://www.example.net/wp-content/themes/k2/header.php’ for inclusion include_path=’.:/usr/lib/php:/usr/local/lib/php/extensions:/usr/local/lib/php’) in /home/example/public_html/blogs/test/header.php on line 2
any idea what to do?
content
- The topic ‘include header doesnt work!’ is closed to new replies.