You are here: Re: $_POST + spaces and dots in keys « PHP Programming Language « IT news, forums, messages
Re: $_POST + spaces and dots in keys

Posted by Toby Inkster on 12/11/05 12:18

maraguida wrote:

> <quote src="http://www.w3.org/TR/html4/types.html#h-6.2">
> ID and NAME tokens must begin with a letter ([A-Za-z]) and may be
> followed by any number of letters, digits ([0-9]), hyphens ("-"),
> underscores ("_"), colons (":"), and periods (".").
> </quote>

Yes, but if you look at the attribute definitions for the INPUT element
<http://www.w3.org/TR/html401/interact/forms.html#h-17.4>, you'll see that
the name attribute is defined as CDATA, and not a NAME token. The NAME
token type that you've quoted only actually applies to the META element's
name (and http-equiv) attribute.

Thus '<input name="/This\ %is+ $a; ~valid# @name^ |attribute!">' is
valid HTML 4, though it might not be very well supported.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

 

Navigation:

[Reply to this 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

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