Z
Z
ZaurK2016-12-29 21:49:34
PHP
ZaurK, 2016-12-29 21:49:34

Why is the string truncated when writing to json?

Hello! There is an array that is written to json. The problem is that one long line is cut off for some reason when writing. Is there a limit on the length of the stored string in this case? How to force to record it completely?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Sisyukin, 2016-12-29
@Caarl

Make file get content php://input if everything is fine then add htaccess
max_input_vars 3000 (default 1000)
Also set separately for post get cooke (google help)
There is also detch, max nesting, hello arrays...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question