Reply to Re: When Can PHP be mixed inline w/ HTML?

Your name:

Reply:


Posted by NC on 01/23/06 23:56

one man army wrote:
>
> I have looked for a definitive answer for this and have not found one.

The answer is very simple: when PHP code and HTML are put into a file
with *.php extension.

> for example, a file called xxx.html, marked
> DocType -//W3C//DTD HTML 4.01 Transitional//EN

Normally, HTTP servers are configured not to treat *.html files as
those that contain no executable code. So if you put PHP code into an
*.html file, it will not be executed.

Cheers,
NC

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация