5
I’m doing a function JavaScript to read a file the user is uploading and sending to the PHP via POST only content for insertion in the database.
I’m trying to send a array with the contents of the file, each position is a line, the problem is that some files may be very large (600 thousand lines) and the largest array that I can see POST is 100,000 lines.
I already changed in the php.ini post_max_size, max_input_vars, memory_limit but I still can’t.
Does anyone know how to pass this array with 600,000 positions per POST without having to break it into pieces?
Possible relationship: http://answall.com/questions/47145/quantidade-m%C3%A1xima-de-elementos-enviado-por-um-formul%C3%A1rio
– MarceloBoni
Looking forward to good answers, I found a great question rs +1
– MarceloBoni
I don’t understand javascript, you mean "ajax"?
– Guilherme Nascimento
@Marcelobonifazio Yes I know what Ajax is. The question speaks nothing of Javascript directly, no way to know if it is multiple inputs generated or if the transmission is done by
XMLHttpRequest.– Guilherme Nascimento