Answer the question
In order to leave comments, you need to log in
Why is part of the GET request lost?
As usual, a problem awaited me, which did not exist before. Its essence is as follows:
I pass a get-request like ?code=32.20 to the php script. If the end is not zero, then everything is correctly transmitted, if 0, then it disappears from the request. Question: what needs to be done in order not to disappear?
Answer the question
In order to leave comments, you need to log in
It turned out that the direct comparison $_GET['code'] == $str did not work. Helped strcmp(get, str)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question