You are here: Re: Quick question about <input name="..."> « HTML « IT news, forums, messages
Re: Quick question about <input name="...">

Posted by David on 11/16/06 14:12

Hello Joel,

On Thu, 16 Nov 2006 05:25:36 UTC, Joel Shepherd <joelshep@ix.netcom.com> wrote:

> "David" <FlyLikeAnEagle@United.Com> wrote:
>
> > Hello,
>
> Hi.
>
> > Part of a form I created today took a while to diagnose the true
> > problem given the limited diagnostics on web projects. The line
> > in my HTML Form was something like the following:
> >
> > <INPUT TYPE="HIDDEN" NAME="TwentyCharacterName1"
> > VALUE="TwentyCharacterName1"/>
> >
> > The complaint offered by the server (detail diagnostics on) was
> > that ['<INPUT TYPE="HIDDEN""]' wasn't a valid value.
>
> I'm confused. What is the [' at the beginning of that, and the "]' at
> the end? If that (square brackets, mis-matched single quotes, extra
> double quote) are actually in your source or HTML somewhere, it's no
> wonder you're having trouble.

That is part of the error text, the only readable part, that IIS(?)
returns when a form has a problem. The ']' is usually where the
problem is, but is never actually shown. Kind of like a compiler
that stops ahead of the word it can't parse.

> And what exactly was the error text you were receiving?

That was it. There is also an error number that is generally
meaningless. x8005000A or something like that; I don't recall
the specific number as it never seems to mean much. The error
page is the result of a 500 (ill formatted HTML) and usually
includes the line number and perhaps column of the problem.
The line count is usually off by a few lines.

I've determined that the long NAME value was the problem.
I'll write another script today to check all the sizes and
find where IIS dies. They have so many problems that simply
do not conform to the HTML specifications. The hard ones
to spot are values that IIS doesn't want quoted and others
that are. It seems that the ASP/vbasic processor isn't
very consistant in its rules.

I'm used to writing CGI applications on Unix and Windows.
I'm trying to stay with tools that my friends can use/buy
to maintain the site they've asked me to make. For now
that is XP, IIS, ASP, vbasic, and a text editor.

David

 

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

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