Parsing wml files as php
| From: | Dotan Cohen | Date: | Sun, 05 Jun 2005 15:29:21 +0000 |
| Subject: | Parsing wml files as php | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-216409@lists.php.net to get a copy of this message | ||
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? I have tried about ten
or so different combinations, but nothing works (for me). I am on php
version 4.3.2 and Apache version 1.3.31.
Thanks.
Dotan
<a href='http://lyricslist.com/lyrics/index.php'>Song
Lyrics</a>