Jump to content

Not showing nav.php in template


Xtremer360

Recommended Posts

I have a template system and inside my DB I have a top and bottom field and inside the top field I have the following:

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Kansas Outlaw Wrestling, LLC.::True Outlaws of the Midwest::</title>

<link rel="stylesheet" type="text/css" href="http://www.kansasoutlawwrestling.com/css/style.css" />

</head>

<body>

<div id="page-wrap">

  		<div id="header">
        
   	    	<center><img src="http://www.kansasoutlawwrestling.com/images/logo.png" alt="" /></center>
        
<?php include ('http://www.kansasoutlawwrestling.com/nav.php');?>
        
        </div><!--End of header -->

	<div id="content">

 

Now problem is that when it shows the page it shows as Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/content/y/a/n/yankeefaninkc/html/backstage/content.php(63) : eval()'d code on line 21

 

Warning: include(http://www.kansasoutlawwrestling.com/nav.php) [function.include]: failed to open stream: no suitable wrapper could be found in /home/content/y/a/n/yankeefaninkc/html/backstage/content.php(63) : eval()'d code on line 21

 

Warning: include() [function.include]: Failed opening 'http://www.kansasoutlawwrestling.com/nav.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/content/y/a/n/yankeefaninkc/html/backstage/content.php(63) : eval()'d code on line 21

Link to comment
https://forums.phpfreaks.com/topic/197550-not-showing-navphp-in-template/
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.