Guest MrLeN Posted March 27, 2006 Share Posted March 27, 2006 I have created a form that writes content to a text file. But the submit button wont work if I add a certain amount of content. It's not THAT much content, maybe a couple of hundred lines - max. Then when I remove some content, it works again. Is there a submit limit? If so, how can I remove it? I don't want a limit.MrLeN Quote Link to comment https://forums.phpfreaks.com/topic/5973-form-submit-has-a-content-limit/ Share on other sites More sharing options...
gavinandresen Posted March 27, 2006 Share Posted March 27, 2006 Are you submitting via method="GET" or "POST"?GET has a fairly low limit (dunno if the server or browser limit is the bottleneck... but anyways).POST usually has a couple megabyte limit (depends on how your web server and PHP are configured). Quote Link to comment https://forums.phpfreaks.com/topic/5973-form-submit-has-a-content-limit/#findComment-21381 Share on other sites More sharing options...
Guest MrLeN Posted March 27, 2006 Share Posted March 27, 2006 I don't have an action specified.I will try Post and see what happens.I have my own server. Maybe I can change it so I can post more information.I just tried post and get. Now the form doesn't work. Maybe I will remove the action all together and see what happens.Nope, that doesn't work either :(When I hit submit it does nothing. It's like the submit button is dead. It works again if I remove a bit of content. Where are the server settings?I just counted. I am only trying to add 53 short lines of text. I hope this isn't going to be another thing that wil stop development for a day or two. Argh.MrLeN Quote Link to comment https://forums.phpfreaks.com/topic/5973-form-submit-has-a-content-limit/#findComment-21384 Share on other sites More sharing options...
Guest MrLeN Posted March 28, 2006 Share Posted March 28, 2006 Never mind. I accidentally wrote action="post" instead of method="post".MrLeN Quote Link to comment https://forums.phpfreaks.com/topic/5973-form-submit-has-a-content-limit/#findComment-21394 Share on other sites More sharing options...
txmedic03 Posted March 28, 2006 Share Posted March 28, 2006 Just a note on the matter of changing server settings. I would recommend you only do this to fix problems if you are going to run the server yourself. If you change these limits on your development server to get around problems you encounter then you must do so on the primary server as well and if you use shared level hosting they probably won't let you make these changes. Quote Link to comment https://forums.phpfreaks.com/topic/5973-form-submit-has-a-content-limit/#findComment-21445 Share on other sites More sharing options...
Guest MrLeN Posted March 28, 2006 Share Posted March 28, 2006 True, eventually this script will wind up for sale, for a small fee. I guess I should endeavor to keep it as standard as possible.MrLeN Quote Link to comment https://forums.phpfreaks.com/topic/5973-form-submit-has-a-content-limit/#findComment-21446 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.