kvnmck18 Posted October 29, 2006 Share Posted October 29, 2006 In php why won't it process a GET or POST if a value is too long? What is the letter/word limit? How can you fix this? Link to comment Share on other sites More sharing options...
justsomeguy Posted October 30, 2006 Share Posted October 30, 2006 It should be able to fine, how long is the value? It might be affected by this:http://www.php.net/manual/en/ini.core.php#ini.post-max-sizeBut the default is 8MB.Apparently the query string (GET) also has a limit, but varies from server to server and OS to OS. You should be able to count on at least 256 characters for GET though (in total). Link to comment Share on other sites More sharing options...
kvnmck18 Posted October 30, 2006 Author Share Posted October 30, 2006 It's only a paragraph long. Example...a form that when filled out is used on another page as a POST and one of the input fields is a textarea...it won't process it, it just load a blank page...doesn't finish processing. Link to comment Share on other sites More sharing options...
justsomeguy Posted October 30, 2006 Share Posted October 30, 2006 I doubt it is the size of the textarea. I have submitted pages and pages of data without a problem. If you want, you can post your code for the form and the handler, the problem is probably somewhere else. Link to comment Share on other sites More sharing options...
kvnmck18 Posted October 31, 2006 Author Share Posted October 31, 2006 Yeha, I have too that's what I'm confused about...maybe it's because I'm using htmlchars(). I don't see why that would limit the output.It could be because it's POST location is in an attribute of an XML but that shouldn't matter either.It might of been my server was being slow the other night...I need to try this out again and see if it continues...if it does I'll post the code.I guess from this the only question is: Does htmlchars limit limit submission of data? Link to comment Share on other sites More sharing options...
justsomeguy Posted October 31, 2006 Share Posted October 31, 2006 I don't know of anything that limits the submission data, functions like htmlspecialchars and htmlentities just act on a string that you give them, they don't look at or care about the request. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now