Reply to Re: [PHP] Parsing wml files as php

Your name:

Reply:


Posted by Marek Kilimajer on 06/05/05 18:52

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.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация