will php tags be processed in an html page?

This is a discussion on will php tags be processed in an html page? within the alt.comp.lang.php forums, part of the PHP Programming Forums category; I am sure I heard that recent browsers can process the php script on a page with the html extension......


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2004
ACAY
 
Posts: n/a
Default will php tags be processed in an html page?

I am sure I heard that recent browsers can process the php script on a page
with the html extension...Is this true?




Reply With Quote
  #2 (permalink)  
Old 02-29-2004
Cameron
 
Posts: n/a
Default Re: will php tags be processed in an html page?

ACAY wrote:
> I am sure I heard that recent browsers can process the php script on a page
> with the html extension...Is this true?
>
>
>
>


PHP is a server side language, you can configure the server to run PHP
in files with any ext. but not client side.

~Cameron
Reply With Quote
  #3 (permalink)  
Old 02-29-2004
CountScubula
 
Posts: n/a
Default Re: will php tags be processed in an html page?

"ACAY" <kakotamaya2001@hotmail.com> wrote in message
news:4041e326@news.rivernet.com.au...
> I am sure I heard that recent browsers can process the php script on a

page
> with the html extension...Is this true?



NO

--
Mike Bradley
http://www.gzentools.com -- free online php tools


Reply With Quote
  #4 (permalink)  
Old 03-01-2004
Tom Thackrey
 
Posts: n/a
Default Re: will php tags be processed in an html page?


On 29-Feb-2004, "CountScubula" <me@scantek.hotmail.com> wrote:

> "ACAY" <kakotamaya2001@hotmail.com> wrote in message
> news:4041e326@news.rivernet.com.au...
> > I am sure I heard that recent browsers can process the php script on a

> page
> > with the html extension...Is this true?

>
>
> NO


Sure you can. Just tell the server to process .html files with php. In
apache it would be something like

AddType application/x-httpd-php .php .php4 .php3 .phtml .html

--
Tom Thackrey
www.creative-light.com
tom (at) creative (dash) light (dot) com
do NOT send email to jamesbutler@willglen.net (it's reserved for spammers)
Reply With Quote
  #5 (permalink)  
Old 03-01-2004
CountScubula
 
Posts: n/a
Default Re: will php tags be processed in an html page?

"Tom Thackrey" <use.signature@nospam.com> wrote in message
news:Guv0c.31987$Rj5.14091@newssvr25.news.prodigy. com...
>
> On 29-Feb-2004, "CountScubula" <me@scantek.hotmail.com> wrote:
>
> > "ACAY" <kakotamaya2001@hotmail.com> wrote in message
> > news:4041e326@news.rivernet.com.au...
> > > I am sure I heard that recent browsers can process the php script on a

> > page
> > > with the html extension...Is this true?

> >
> >
> > NO

>
> Sure you can. Just tell the server to process .html files with php. In
> apache it would be something like
>
> AddType application/x-httpd-php .php .php4 .php3 .phtml .html
>
> --
> Tom Thackrey
> www.creative-light.com
> tom (at) creative (dash) light (dot) com
> do NOT send email to jamesbutler@willglen.net (it's reserved for spammers)


He said browser *not server*

--
Mike Bradley
http://www.gzentools.com -- free online php tools


Reply With Quote
  #6 (permalink)  
Old 03-01-2004
Tom Thackrey
 
Posts: n/a
Default Re: will php tags be processed in an html page?


On 29-Feb-2004, "CountScubula" <me@scantek.hotmail.com> wrote:

> "Tom Thackrey" <use.signature@nospam.com> wrote in message
> news:Guv0c.31987$Rj5.14091@newssvr25.news.prodigy. com...
> >
> > On 29-Feb-2004, "CountScubula" <me@scantek.hotmail.com> wrote:
> >
> > > "ACAY" <kakotamaya2001@hotmail.com> wrote in message
> > > news:4041e326@news.rivernet.com.au...
> > > > I am sure I heard that recent browsers can process the php script on
> > > > a
> > > page
> > > > with the html extension...Is this true?
> > >
> > >
> > > NO

> >
> > Sure you can. Just tell the server to process .html files with php. In
> > apache it would be something like
> >
> > AddType application/x-httpd-php .php .php4 .php3 .phtml .html
> >

> He said browser *not server*


I assumed he meant server which is why I said server.

You could have been illuminating and helpful instead of rude and misleading.


--
Tom Thackrey
www.creative-light.com
tom (at) creative (dash) light (dot) com
do NOT send email to jamesbutler@willglen.net (it's reserved for spammers)
Reply With Quote
  #7 (permalink)  
Old 03-01-2004
CountScubula
 
Posts: n/a
Default Re: will php tags be processed in an html page?

Sorry, Didnt know I was rude and misleading, it was by the form of his
qestion, that inflected doubt on his part, but yet unsure, as if he was
talking about client side browser. such statements such as " recent
browsers"

I guess I could have shed more light on it, but this time I didn't and I get
chastised, I just thought I would keep it simple, hmm, next time, I will
give more thought, think about fluffing it, or just not reply.

I do understand your answer, but perhaps *you* should not have been so
*misleading* yourself and stating: "sure you can", maybe you should have
said, not the browser, do you mean the server? if so, yust do this....


Well, I stick to my answer.

--
Mike Bradley
http://www.gzentools.com -- free online php tools
"Tom Thackrey" <use.signature@nospam.com> wrote in message
news:t2A0c.18666$Mk.8418@newssvr29.news.prodigy.co m...
>
> On 29-Feb-2004, "CountScubula" <me@scantek.hotmail.com> wrote:
>
> > "Tom Thackrey" <use.signature@nospam.com> wrote in message
> > news:Guv0c.31987$Rj5.14091@newssvr25.news.prodigy. com...
> > >
> > > On 29-Feb-2004, "CountScubula" <me@scantek.hotmail.com> wrote:
> > >
> > > > "ACAY" <kakotamaya2001@hotmail.com> wrote in message
> > > > news:4041e326@news.rivernet.com.au...
> > > > > I am sure I heard that recent browsers can process the php script

on
> > > > > a
> > > > page
> > > > > with the html extension...Is this true?
> > > >
> > > >
> > > > NO
> > >
> > > Sure you can. Just tell the server to process .html files with php. In
> > > apache it would be something like
> > >
> > > AddType application/x-httpd-php .php .php4 .php3 .phtml .html
> > >

> > He said browser *not server*

>
> I assumed he meant server which is why I said server.
>
> You could have been illuminating and helpful instead of rude and

misleading.
>
>
> --
> Tom Thackrey
> www.creative-light.com
> tom (at) creative (dash) light (dot) com
> do NOT send email to jamesbutler@willglen.net (it's reserved for spammers)



Reply With Quote
  #8 (permalink)  
Old 03-01-2004
ACAY
 
Posts: n/a
Default Re: will php tags be processed in an html page?

Many Thanks To You Mr. Thackrey for being so helpful.

Stu


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:17 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0