Re: Re: PHP in HTML code

From: Date: Thu, 18 Mar 2010 16:57:14 +0000
Subject: Re: Re: PHP in HTML code
References: 1 2 3 4 5 6 7 8 9 10 11  Groups: php.general 
Request: Send a blank email to php-general+get-302976@lists.php.net to get a copy of this message
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

« previous php.general (#302976) next »