Re: Buxa Coding Guidelines

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

 



brian wrote:

> Per Jessen wrote:
>> magoo wrote:
>> 
>>>In their oppinion stuff like the short PHP init "<?" or inline echo
>>>"<?= $var ?>" is forbidden.
>>>Do you people code that strict?
>> 
>> Yep.  If you're using XHTML you have no other option.
>> 
> 
> If you're parsing XHTML that is choking on any instances of "<%" then
> you've got a problem with your script. 

I'm not parsing it, apache does that.

An XHTML document will start with:

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en">
<head>



/Per Jessen, Zürich

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[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