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 >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 to the Web ser

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 wrote: > 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

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 h

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 Jason Pruim
On Jul 19, 2009, at 10:43 AM, Govinda wrote: 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

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 3:39 AM, Eddie Drapkin wrote: > On Sun, Jul 19, 2009 at 2:53 AM, Ashley > Sheridan 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 applicat

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 : >>> 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 wh

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, especiall

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 Sheridan 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 >> > >> > http://us2.php.net/manual/en/install.uni

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-18 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-p