Jump to content


Photo

Form submit has a content limit?


  • Please log in to reply
5 replies to this topic

#1 MrLeN

MrLeN
  • Members
  • PipPipPip
  • Advanced Member
  • 112 posts

Posted 27 March 2006 - 11:33 PM

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

#2 gavinandresen

gavinandresen
  • Members
  • PipPip
  • Member
  • 10 posts

Posted 27 March 2006 - 11:55 PM

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).


#3 MrLeN

MrLeN
  • Members
  • PipPipPip
  • Advanced Member
  • 112 posts

Posted 27 March 2006 - 11:58 PM

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

#4 MrLeN

MrLeN
  • Members
  • PipPipPip
  • Advanced Member
  • 112 posts

Posted 28 March 2006 - 12:30 AM

Never mind. I accidentally wrote action="post" instead of method="post".

MrLeN


#5 txmedic03

txmedic03
  • Members
  • PipPipPip
  • Advanced Member
  • 313 posts
  • LocationCall, TX, USA

Posted 28 March 2006 - 04:03 AM

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.

SEMPER FIDELIS!

I can't stop you from doing something silly, but at least I can help you do it right.


#6 MrLeN

MrLeN
  • Members
  • PipPipPip
  • Advanced Member
  • 112 posts

Posted 28 March 2006 - 04:08 AM

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





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users