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

python - how we can use ajax() in views.py in django? -

matlab - Using loops to get multiple values into a cell -

python - Sequence Pattern recognition with Pybrain -