Hi,
Since I've got a similar problem I thought I'd just post here rather than start a new topic. I don't really know much about php coding itself, so if you do reply please make it simple lol
Basically I've used this php code on my websites in the past, and today I wanted to use it in a new website I'm setting up. This is basically what I use:
Code:
<?php include("http://www.adaramusic.com/menu.php"); ?>
I use that so that I can 'include' the menu file on every page, but then I only have to edit the menu file when I want to make changes.
However I seem to be getting this error:
Quote:
Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/adara/public_html/index.php on line 29
Warning: include(http://www.adaramusic.com/menu.php) [function.include]: failed to open stream: no suitable wrapper could be found in /home/adara/public_html/index.php on line 29
Warning: include() [function.include]: Failed opening 'http://www.adaramusic.com/menu.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/adara/public_html/index.php on line 29
|
I really have absolutely no idea what the problem is since this is the same method I have used in the past, and it has always worked for me.
This is the website I'll be using it on:
Adara :: acoustic duo
Would really appreciate help with this!
Cheers! x