Re: Re: PHP in HTML code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2010-03-18 at 17:57 +0100, Jan G.B. wrote:

> Sure - XML is often used and served. But in general, a web server only
> parses PHP-Files (ie. .+\.php\d?) unless you configure your server to
> parse any file or .xml files. So the XML <? is not a problem at all
> for the interpreter.


I wasn't meaning that xml files would be parsed as PHP, but that PHP
would be used to output XML. I'd rather have short tags turned off than
remember each time that I have to keep breaking up the < and ?php before
I output it in-case the parser gets confused.

Templating is great, but it's not for all projects.

Thanks,
Ash
http://www.ashleysheridan.co.uk



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux