Taking a stab in the dark, I'd guess that all you did was change the
content type meta to it. Well...that's not the way to do it.
It may not be the way to do it but it's the way it's taught at the
article you reference:
Oldie but goldie on the subject:
On Thu, 2004-11-11 at 20:28, Alan Milnes wrote:
So does anyone have a link to an article which can tell me how to
properly serve up application/xhtml+xml using PHP?
Jeroen Visser shared
http://www.workingwith.me.uk/articles/scripting/mimetypes/ as a link
before... that tells you how. The
From: Alan Milnes
It may not be the way to do it but it's the way it's taught at the
article you reference:
Oldie but goldie on the subject:
http://www.xml.com/pub/a/2003/03/19/dive-into-xml.html
Aeh...where exactly?
Patrick
Patrick H. Lauke
Webmaster /
It may not be the way to do it but it's the way it's taught at the
article you reference:
Oldie but goldie on the subject:
http://www.xml.com/pub/a/2003/03/19/dive-into-xml.html
Aeh...where exactly?
It's in the section Accommodating legacy browsers and the PHP code
is:-
?php
if (
Alan Milnes wrote:
So does anyone have a link to an article which can tell me how to
properly serve up application/xhtml+xml using PHP?
Jeroen Visser shared
http://www.workingwith.me.uk/articles/scripting/mimetypes/ as a link
before... that tells you how. The datestamp on the message was Thu, 11
Alan Milnes wrote:
Why is the content-type not sent? What errors or warnings does PHP
display? What content-type _is_ sent? What problems does Firefox have?
Some possible reasons for this script not to work:
- headers are already sent out by PHP;
- one ore more conditions are too narrow or wide
Thanks to everyone for all the help, suggestions and links.
I've amended the code from
http://www.workingwith.me.uk/articles/scripting/mimetypes/ to send IE
XHTML 1.0 and if anyone wants to borrow it then it can be found at:-
http://www.college.gameplan.org.uk/wsg/mimetype.txt
Alan
-
From: Alan Milnes [EMAIL PROTECTED]
Sent: Thursday, November 11, 2004 11:24 AM
Subject: [WSG] Re: It's all in the MIME
Thanks to everyone for all the help, suggestions and links.
I've amended the code from
http://www.workingwith.me.uk/articles/scripting/mimetypes/ to send IE
XHTML 1.0