Re: Parsing wml files as php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dotan Cohen wrote:
I have gone over and over through google and various archives, but
cannot come up with a solution even though I am convinced that this is
a FAQ:
I want to parse my .wml files. So in .htaccess I have:
AddType application/x-httpd-php .wml
AddType text/vnd.wap.wml .wml

But it does not parse! If I remove the second line, it parses but, of
course, the headers are wrong. What can I do?

output the right header:

header('Content-Type: text/....');

replace .... with whatever is right.

Also, you can use php extension too, as long as the header is right.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux