Re: [PHP] need to get .html files parsed by PHP. -- WAS: why does PHP parse *.html files in one subdir/ but not in another?

2009-07-19 Thread Ashley Sheridan
On Sat, 2009-07-18 at 23:09 -0600, Govinda wrote: i never used x-mapp-php5, but most of a forums say it is specific to 1and1 hosting service. php recommends application/x-httpd-php http://us2.php.net/manual/en/install.unix.apache2.php try adding AddType application/x-httpd-php .html in

Re: [PHP] need to get .html files parsed by PHP. -- WAS: why does PHP parse *.html files in one subdir/ but not in another?

2009-07-19 Thread Eddie Drapkin
On Sun, Jul 19, 2009 at 2:53 AM, Ashley Sheridana...@ashleysheridan.co.uk wrote: On Sat, 2009-07-18 at 23:09 -0600, Govinda wrote: i never used x-mapp-php5, but most of a forums say it is specific to 1and1 hosting service. php recommends application/x-httpd-php

Re: [PHP] need to get .html files parsed by PHP. -- WAS: why does PHP parse *.html files in one subdir/ but not in another?

2009-07-19 Thread Govinda
Generally, if a file has a .html extenstion, then it should really just contain html. .php extensions are meant for php code containing html. File extension has absolutely no bearing at all on the contents of the file. There's valid reasons to not expose what's what under the hood,

Re: [PHP] need to get .html files parsed by PHP. -- WAS: why does PHP parse *.html files in one subdir/ but not in another?

2009-07-19 Thread Stuart
2009/7/19 Govinda govinda.webdnat...@gmail.com: Generally, if a file has a .html extenstion, then it should really just contain html. .php extensions are meant for php code containing html. File extension has absolutely no bearing at all on the contents of the file.  There's valid reasons to

Re: [PHP] need to get .html files parsed by PHP. -- WAS: why does PHP parse *.html files in one subdir/ but not in another?

2009-07-19 Thread Govinda
Most security issues have nothing to do with the programming language and everything to do with the code. Just because facebook uses the .php extension certainly does not mean their code has no security holes and even if it's clean it certainly doesn't mean your code will be secure. Stuart I

Re: [PHP] need to get .html files parsed by PHP. -- WAS: why does PHP parse *.html files in one subdir/ but not in another?

2009-07-19 Thread Adam Shannon
On Sun, Jul 19, 2009 at 10:00 AM, Govinda govinda.webdnat...@gmail.comwrote: Most security issues have nothing to do with the programming language and everything to do with the code. Just because facebook uses the .php extension certainly does not mean their code has no security holes and

Re: [PHP] need to get .html files parsed by PHP. -- WAS: why does PHP parse *.html files in one subdir/ but not in another?

2009-07-19 Thread Lenin
On Sun, Jul 19, 2009 at 10:00 AM, Govinda govinda.webdnat...@gmail.com wrote: * You turn expose_php off in your php.ini what does this one ^^^ do exactly ? expose_php boolean Decides whether PHP may expose the fact that it is installed on the server (e.g. by adding its signature

[PHP] need to get .html files parsed by PHP. -- WAS: why does PHP parse *.html files in one subdir/ but not in another?

2009-07-18 Thread Govinda
i never used x-mapp-php5, but most of a forums say it is specific to 1and1 hosting service. php recommends application/x-httpd-php http://us2.php.net/manual/en/install.unix.apache2.php try adding AddType application/x-httpd-php .html in your root htaccess hmmm. Darn! I just did try what