android - Explain file_get_contents('php://input') -


Writing Android app to connect to PHP Web Service and through my searches on the Internet, send me the file_get_contents ('php: // input'); and I understand some parts of its functionality but I still do not get it php: // input or php: // stdin or like stuff What are you I have read and I am very confused.

Please understand it completely.

The information comes from:

When a POST request, then it is saved in the temporary file

Command file_get_contents ('php: // input') sent to PHP Reads raw information - never $ _ POST or $ _ request super globals.

This technique is often used when a file uploads, such as an image.

Edit: Deleted $ _ Received

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -