I have a multidimensional array, which consists of 426 smaller arrays, which also comprise of 4 attributes.. Below is an example of one of 426 arrays...
You should convert all your data in json format at the client side and send it as a text.
var jsonDataString = JSON.stringify(data)
//data - array, associative array, any other variables
$.ajax({
...
data: {
friends: jsonDataString,
}
...
});
At the server side just decode json file.
Changing of php.ini is not a good idea because of security risks.