Re: [PHP] why does PHP parse "*.html" files in one subdir/ but not in another?

2009-07-20 Thread Stuart
2009/7/19 Paul M Foster : > On Sun, Jul 19, 2009 at 07:18:34PM +0100, Stuart wrote: > >> 2009/7/19 Paul M Foster : >> > On Sun, Jul 19, 2009 at 09:30:33AM +0530, kranthi wrote: >> > >> >> >> >> > You do realize that PHP does not parse HTML files, right? The web server >> >> > does that. In fact, th

Re: [PHP] why does PHP parse "*.html" files in one subdir/ but not in another?

2009-07-19 Thread Paul M Foster
On Sun, Jul 19, 2009 at 07:18:34PM +0100, Stuart wrote: > 2009/7/19 Paul M Foster : > > On Sun, Jul 19, 2009 at 09:30:33AM +0530, kranthi wrote: > > > >> > >> > You do realize that PHP does not parse HTML files, right? The web server > >> > does that. In fact, the web server also parses PHP files,

Re: [PHP] why does PHP parse "*.html" files in one subdir/ but not in another?

2009-07-19 Thread Stuart
2009/7/19 Paul M Foster : > On Sun, Jul 19, 2009 at 09:30:33AM +0530, kranthi wrote: > >> >> > You do realize that PHP does not parse HTML files, right? The web server >> > does that. In fact, the web server also parses PHP files, using a >> > different library. >> >> Kindly elaborate If you are sa

Re: [PHP] why does PHP parse "*.html" files in one subdir/ but not in another?

2009-07-19 Thread Ashley Sheridan
On Sun, 2009-07-19 at 14:07 -0400, Paul M Foster wrote: > On Sun, Jul 19, 2009 at 09:30:33AM +0530, kranthi wrote: > > > > > > You do realize that PHP does not parse HTML files, right? The web server > > > does that. In fact, the web server also parses PHP files, using a > > > different library.

Re: [PHP] why does PHP parse "*.html" files in one subdir/ but not in another?

2009-07-19 Thread Paul M Foster
On Sun, Jul 19, 2009 at 09:30:33AM +0530, kranthi wrote: > > > You do realize that PHP does not parse HTML files, right? The web server > > does that. In fact, the web server also parses PHP files, using a > > different library. > > Kindly elaborate If you are saying that PHP cant parse files wit

Re: [PHP] why does PHP parse "*.html" files in one subdir/ but not in another?

2009-07-18 Thread Stuart
2009/7/19 Jim Lucas : > Govinda wrote: >> >> Hi all, >> >> ..sitting here thinking this is so easy, and I must have been over this >> already in the past..  but it is eluding me just now.. >> >> I can't figure out why files with the .html extension ARE being parsed by >> PHP when they are in the ma

Re: [PHP] why does PHP parse "*.html" files in one subdir/ but not in another?

2009-07-18 Thread Jim Lucas
Govinda wrote: Hi all, ..sitting here thinking this is so easy, and I must have been over this already in the past.. but it is eluding me just now.. I can't figure out why files with the .html extension ARE being parsed by PHP when they are in the main doc root dir/, or in one subdirectory

Re: [PHP] why does PHP parse "*.html" files in one subdir/ but not in another?

2009-07-18 Thread Govinda
You do realize that PHP does not parse HTML files, right? The web server does that. In fact, the web server also parses PHP files, using a different library. I understand. I just was saying it that way. Actually I rarely think too deeply about that specifically, but now that you pointed it

Re: [PHP] why does PHP parse "*.html" files in one subdir/ but not in another?

2009-07-18 Thread Govinda
Just add this to your root .htaccess AddType x-mapp-php5 .html Thanks Adam. But still no luck. I did add that line to the .htaccess file in my doc root, but my file.html in subdir/ is still not being parsed by PHP. ?? Try to put that same line of .htaccess into the sub directory. Your

Re: [PHP] why does PHP parse "*.html" files in one subdir/ but not in another?

2009-07-18 Thread kranthi
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 if that dosent help you'll have to add th

Re: [PHP] why does PHP parse "*.html" files in one subdir/ but not in another?

2009-07-18 Thread Paul M Foster
On Sat, Jul 18, 2009 at 06:01:14PM -0600, Govinda wrote: > Hi all, > > ..sitting here thinking this is so easy, and I must have been over > this already in the past.. but it is eluding me just now.. > > I can't figure out why files with the .html extension ARE being parsed > by PHP when they are

Re: [PHP] why does PHP parse "*.html" files in one subdir/ but not in another?

2009-07-18 Thread Adam Shannon
On Sat, Jul 18, 2009 at 7:54 PM, Govinda wrote: > > On Jul 18, 2009, at 6:36 PM, Adam Shannon wrote: > > > > On Sat, Jul 18, 2009 at 7:01 PM, Govinda wrote: > >> Hi all, >> >> ..sitting here thinking this is so easy, and I must have been over this >> already in the past.. but it is eluding me jus

Re: [PHP] why does PHP parse "*.html" files in one subdir/ but not in another?

2009-07-18 Thread Govinda
On Jul 18, 2009, at 6:36 PM, Adam Shannon wrote: On Sat, Jul 18, 2009 at 7:01 PM, Govinda wrote: Hi all, ..sitting here thinking this is so easy, and I must have been over this already in the past.. but it is eluding me just now.. I can't figure out why files with the .html extensio

Re: [PHP] why does PHP parse "*.html" files in one subdir/ but not in another?

2009-07-18 Thread Adam Shannon
On Sat, Jul 18, 2009 at 7:01 PM, Govinda wrote: > Hi all, > > ..sitting here thinking this is so easy, and I must have been over this > already in the past.. but it is eluding me just now.. > > I can't figure out why files with the .html extension ARE being parsed by > PHP when they are in the ma

[PHP] why does PHP parse "*.html" files in one subdir/ but not in another?

2009-07-18 Thread Govinda
Hi all, ..sitting here thinking this is so easy, and I must have been over this already in the past.. but it is eluding me just now.. I can't figure out why files with the .html extension ARE being parsed by PHP when they are in the main doc root dir/, or in one subdirectory down from th