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
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).

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.