Do you put the header outside the <wml> tags ?
If so, do you put that header in a <? ... ?> tag ?
Chris wrote:
Mike,
Do you have your MIME types set? If not the following lines need to
be added to your mim.types file, normally located in the conf directory
under your httpd directory.
text/vnd.wap.wml wml
text/vnd.wap.wmlscript wmls
text/vnd.wap.wmlscript ws
text/vnd.wap.wmlscript wmlscript
After that is done, here is the code that I use to output WML.
header("Content-type: text/vnd.wap.wml");
echo("<?xml version=\"1.0\"?>\n");
echo("<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\" \"http://www.wapforum.org/DTD/wml_1.1.xml\">\n\n");
Let me know if this doesn't work, and I'll try to think of something else.
Chris