Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: truncating form field input to 4000 characters

by JediWizard (Deacon)
on Nov 10, 2005 at 15:49 UTC ( #507418=note: print w/replies, xml ) Need Help??

in reply to truncating form field input to 4000 characters

This appears to be related to a cgi-script, right? Are you using the CGI module to fetch the parameter values from the form? I have seen people trying to read the parameters in themselves (without and getting bitten by URI escape sequences in their input. Without seeing your code... this would be my first guess.

They say that time changes things, but you actually have to change them yourself.

—Andy Warhol

Replies are listed 'Best First'.
Re^2: truncating form field input to 4000 characters
by emilford (Friar) on Nov 10, 2005 at 16:09 UTC
    Yes, I am using to read in the parameters. After a bit more testing, I've found that JS and MS-Word's count show the text as < 4000, but doing a wc -m from the command line shows >4000. I'm assuming this has something to do with line breaks, etc. Would the text be manipulated in anyway between input into the form field and pulling it w/

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://507418]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2023-06-01 09:32 GMT
Find Nodes?
    Voting Booth?

    No recent polls found