Answer the question
In order to leave comments, you need to log in
Why does the GET request come in this way?
I use the built-in ability of Bitrix to send hooks.
It is necessary to send a multi-line text using GET to the postchat.php handler. I
generated a line like this in the chrome browser
postchat.php?message=Первая строка%0A Вторая строка
Array
(
[message] => Первая строка
Вторая строка
)
Array
(
[message] => Первая строка %0A Вторая строка
)
Answer the question
In order to leave comments, you need to log in
no code, no idea how the array was received, but if anything, https://www.php.net/manual/en/function.urldecode.php
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question