added function to load php input stream
read data from php input stream
mixed commit