Reply to RE: [PHP] Why is the default value for arg_separator.output '&'?

Your name:

Reply:


Posted by David Dorward on 04/20/05 10:19

Jared Williams wrote:

>> Given this, why is the default value of arg_separator.output
>> '&' and not '&'?

> URLs don't have & in them.

> The & is specific escaping for _only_ XML.

No, XML and SGML which includes XHTML and HTML. How often are PHP sessions
used to generate output for languages other then those?

And even if you want to generate for other languages, why not set
arg_separator.output to ; instead? Its already in arg_separator.input and
doesn't need escaping to be represented in an HTML or XHTML document. The
HTML specification even goes so far as to explicitly recommend it.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is

[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

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