The PHP return value determines the problem of POST data from one server to another server. after processing, I use ECHO1 to return data, but I accept it and then use if ($ results1) to determine if it is unsuccessful, output $ results is indeed 1. how should I determine the return value? solution -------------------- if (intval ($ results) 1) tryit. ------ solution ---- PHP return value judgment
POST data from one server to another server. after processing, I use ECHO 1 to return
However, if ($ results = 1) is not successful, the output $ results is indeed 1.
In this case, how should we determine the return value?
------ Solution --------------------
If (intval ($ results) = 1)
Try it.
------ Solution --------------------
String (7 )"?? 1 "indicates that your returned data contains two BOM headers. only one of them is returned by ECHO 1.
You can use print_r (unpack ('H * ', $ results );
This is efbbbfefbbbf30, and efbbbf is the BOM header of the UTF-8 encoded file.