0

I m trying to post 500K-100K lines from textarea and insert it in mysql table line by line.

But I'm getting error;

413 Request Entity too Large.

The request resource /action.php does not allow request data with GET requests, or the amount of data provided in the request exceeds the capacity limit.

Additionally, a 413 Request Entity Too Large error was encountered while trying to use an ErrorDocument to handle the request.

1 Answers1

0

Apache length of the request line default limit is 8190, thats why you get this error when passing $_GET parameter. Use $_POST instead then you only need to handle script execution time and memory. By the way some old browsers like IE6 can handle only about 2000 request line length so increase it in apache configs won't help.

Eimsas
  • 492
  • 6
  • 21