yii - PHP: write in php://input -


i know how write in "php://input".

actually know if can use stream superglobal.

example $_post

file1: $_post['param'] = "test";  file2: $param = $_post['param']; 

what want

file1: ?????????????  file2: $param = file_get_contents('php://input'); 

do need throw post request file1 file2?

thanks read me :)

have nice day

michaƫl s.

php://input read-only stream allows read raw data request body. (php docs)

maybe, find unix-sockets, or shared memory useful?


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -