Jump to content

'include' not showing any of the <HEAD>


cliftonbazaar

Recommended Posts

I have the following code

<HTML>
<HEAD>
<TITLE>Privacy Policy</TITLE>
<META NAME="keywords" CONTENT="kingdoms">
<META NAME="description" CONTENT="Kingdoms.">
<META HTTP-EQUIV="Content-Language" CONTENT="en-us">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<META NAME="GENERATOR" CONTENT="Microsoft FrontPage 6.0">
<META NAME="ProgId" CONTENT="FrontPage.Editor.Document">
<LINK REL="stylesheet" TYPE="text/css" HREF="trader/style.css">
<meta name="Microsoft Theme" content="boldstri 0110, default">
<meta name="Microsoft Border" content="tlb, default">
</HEAD>
<BODY>
<?PHP include("C:/website/bazaar/default/privacy.php"); ?>
</BODY>
</HTML>

 

Note that this is all the code from the page - my problem is that the browser displays the correct file (privacy.php) but nothing from the <HEAD> section.

 

PS I have learnt that the include file shouldn't be C:/ as it is bad programming, I just haven't got around to changing it yet.

Link to comment
https://forums.phpfreaks.com/topic/153785-include-not-showing-any-of-the/
Share on other sites

The complete code from the page source is

<HTML>
<HEAD>
<TITLE>Privacy Policy</TITLE>
<META NAME="keywords" CONTENT="kingdoms">
<META NAME="description" CONTENT="Kingdoms.">
<META HTTP-EQUIV="Content-Language" CONTENT="en-us">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<META NAME="GENERATOR" CONTENT="Microsoft FrontPage 6.0">
<META NAME="ProgId" CONTENT="FrontPage.Editor.Document">
<LINK REL="stylesheet" TYPE="text/css" HREF="trader/style.css">
<meta name="Microsoft Theme" content="boldstri 0110, default">
<meta name="Microsoft Border" content="tlb, default">
</HEAD>
<BODY>
<P ALIGN="left">Any information entered into this site will only be used by me
and not sold, traded, given away to any other party.  Any advertising will
either be done on the website or added to my newsletter</P>

<P ALIGN="left">Cookies may have been added for the benefit of the user; this
information will not been used by any person, or organization, other than
myself.<BR>
Please note that cookies may be used on other sites that I, James Clifton,
control - for a full list of these site please visit my personal blog at
<A HREF="http://www.jamesclifton.com">www.jamesclifton.com</A></P>
<P ALIGN="left">Any changes to the privacy policy will be made at my web site
as well as posted here.</BODY>
</HTML>

 

So all the source code is correct but the browser will not display the theme or the border.  Note that I have tried this in IE7 and FF3 (my default browser).

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.