Jump to content

Help With Include & $host


tarun

Recommended Posts

Warning: include() [function.include]: Failed opening '******************' for inclusion (include_path='.:/usr/share/php') in ******************* on line 2

 

Is One Of The Errors I Get When Using This (Obviosly With Out The *'s Though):

<?PHP $host =  $_SERVER['HTTP_HOST']; ?>
<?PHP INCLUDE($host . "/header.php"); ?>
<CENTER>
<IMG SRC="/images/tarun.png" WIDTH="336" HEIGHT="109" BORDER=0 ALT="">
</CENTER>
<?PHP INCLUDE($host . "/footer.php"); ?>

 

Any Help?

Thnx

Tarun

Link to comment
https://forums.phpfreaks.com/topic/36899-help-with-include-host/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.