hemi519
12-03-2010, 07:09 PM
Hi All,
I am getting request from a client to my php file. Iam unable to get the content he is sending to me. I am using file_get_contents('php://input') to get his data. but iam unable to do so can anyone help me plz.
I wrote like this to get the data
$incoming = file_get_contents('php://input')
when iam printing $incoming it is showing me
12-04 00:19:02.119: INFO/System.out(326): Response ... from=abc%40gmail.com&to=%22sbc%22+%3Casd519ssa%40gmail.com%3E%2C+&displayname=ssssss%40gmail.com&password=sdfsdfsdf&subject=Sdfsdf&message=Sdfsdfdsf&imagecontent
can i get the value individually from all these names(from,to,displayname,password,subject)
I am getting request from a client to my php file. Iam unable to get the content he is sending to me. I am using file_get_contents('php://input') to get his data. but iam unable to do so can anyone help me plz.
I wrote like this to get the data
$incoming = file_get_contents('php://input')
when iam printing $incoming it is showing me
12-04 00:19:02.119: INFO/System.out(326): Response ... from=abc%40gmail.com&to=%22sbc%22+%3Casd519ssa%40gmail.com%3E%2C+&displayname=ssssss%40gmail.com&password=sdfsdfsdf&subject=Sdfsdf&message=Sdfsdfdsf&imagecontent
can i get the value individually from all these names(from,to,displayname,password,subject)