I have a domain at shared hosting which I have mapped to a folder in public html (public_html/INSURANCEGEO). Now I have created a subdomain also loacated in public html (public_html/life). Site's Header and footer files are there in 'includes' folder within my domain folder (public_html/INSURANCEGEO/includes).
I am trying to include header in my subdomain index page by writing following lines:
<?php include ('./includes/header.php'); ?>
I have also tried this also:
<?php include ('http://www.domainname.com/includes/header.php'); ?>
but same error is promting as:
Warning: include() [function.include]: http:// wrapper is disabled in the server configuration by allow_url_include=0 in /home/myhostingdomain/public_html/subdomain/index.php on line 15
Would appreciate help.