Hi,
This is what I want to do. But it is not working.
Consider $domainname = http://mydomainname.com/
I need the include statement to execute something like :
include("http://mydomainname.com/header-meta-tags.php");
How do i do that?
------- My code below ----
<?
// directly finds current URL
$domainname = 'http://' . $_SERVER['HTTP_HOST'] . '/';
echo $domainname;
?>
<!-- Start of index.php -->
<?php include(echo "$domainname" . 'header-meta-tags.php'); ?>