php - Large $_POST variable get's cut off -
php - Large $_POST variable get's cut off -
i'm send big array via post server when output $_post
variable parameters cutting off
echo '<pre>'.print_r($_post , true).'</pre>';
it seems array cutting off @ same length if add together elements @ origin of array 1 element @ end removed.
this happens on servers guess it's wrong setting or server limitations.
the post_max_size
above 64 mb , post not close size
how can around this?
you need set value of upload_max_filesize , post_max_size in php.ini :
; maximum allowed size uploaded files. upload_max_filesize = 40m ; must greater or equal upload_max_filesize post_max_size = 40m
after modifying php.ini file(s), need restart http server utilize new configuration.
you can utilize ini_set function:
ini_set('post_max_size', '64m'); ini_set('upload_max_filesize', '64m');
php post
Comments
Post a Comment