Read raw POST data from php

Reads the posted data to string variable.

php
fork add to bundle source
function get_raw_input() { return file_get_contents("php://input"); }

usage

load_function('read_raw_input'); $data = get_raw_input(); # do something with $data, like save or output
← how to use this in app?
create log ...inout