biochris has asked for the wisdom of the Perl Monks concerning the following question:

Probably simple question.

Why my html form

(<TEXTAREA NAME="dna" ROWS=5 COLS=50 WRAP="virtual"></TEXTAREA>)

won't take more than 2,040 characters input?

Replies are listed 'Best First'.
Re: html form input limitation?
by BUU (Prior) on Jan 12, 2005 at 19:29 UTC
    This has absolutely nothing to do with perl, so please don't ask similar questions here in the future, but I'm going to take a wild guess and say that you're submitting said textfield via GET, and GET strings can't be longer than 2048 characters (on whatever combination of architectures you happen to be using).
      Right to the point! (Sorry, I did't realize that was an HTML question).
Re: html form input limitation?
by TedPride (Priest) on Jan 13, 2005 at 02:20 UTC
    Post textareas also have limits, though I don't know if they're as small as 2040 characters. Depends entirely on your browser and the server software. You should probably look into file uploads if you're working with large amounts of data.
      I was actually using GET rather than POST. Eventually though I will use file uploads. (DNA sequences tend to be kinda lenghty!) Thanks
Re: html form input limitation?
by Errto (Vicar) on Jan 14, 2005 at 05:10 UTC

    First of all I hope this form is submitted by the POST method and not GET, because GET has severe limits on data size. Unfortunately, your web server or a proxy intermediary may be cutting off the request body even if you are doing POST. So it depends entirely on the server side APIs you are using to process your form data. It is not a property of HTML or HTTP.

    Update: For example, Microsoft's ASP limits the size of a form submission using the application/x-www-form-urlencoded encoding to 100KB.

      Right to the point. Thanks.