PHPfile_get_content: the binary image data sent from my c ++ client + base64 encryption is sent to the PHP server file_put_contents using http post ($ file, $ _ POST ["zhaopian"]) according to the comparison between the data sent by the client and the data received by the PHP server, we found that the data directly received from 4 branches, 3, and 4 points was not put into this issue. how should I solve this problem .... How does file_put_contents ensure the integrity of the received data ..
Reply to discussion (solution)
You are all ascii characters.
Is the data Big? Whether the limit of post_max_size is exceeded
In fact, isn't it good for you to use curl to transfer files in C ++? A lot of online code
You are all ascii characters.
Is the data Big? Whether the limit of post_max_size is exceeded
In fact, isn't it good for you to use curl to transfer files in C ++? A lot of online code
The size of my image 117KB should not exceed post_max_size.
I uploaded it using curl... It's depressing that the client sends a message to the server to receive it ..
You are all ascii characters.
Is the data Big? Whether the limit of post_max_size is exceeded
In fact, isn't it good for you to use curl to transfer files in C ++? A lot of online code
File_put_content cannot write the number of nodes by itself ..
File_put_content: the number of bytes written to the file.
File_put_content: the number of bytes written to the file.
The client sends 157962 messages to the server. only 118425 messages are too suspense.
File_put_content: the number of bytes written to the file.
Is there any way to output data before $ _ post ["zhaopian?
Echo strlen ($ _ POST ["zhaopian"]);