[PHP-INST] Re: cannot run php within html

2001-10-22 Thread Dariush
you have to modify the PHP mime types to allow parsing of html files, although I wouldn't reccommend it.. Roger Pang <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have written the following html called "test.html" in /var/www/html > directory : > > > php

[PHP-INST] Re: cannot run php within html

2001-10-12 Thread Carlos Augusto Abarca
Nothing is wrong, the only problem is that your html server is configured to interpret files with a php or maybe even php4 extension as php files, so if you post an html file (with extension htm or html) the server will not "know" what to do with the PHP code. In this case just name your html fil