there is in fact no problem since the instruction
$data =
file_get_contents($APEserver.rawurlencode(json_encode($cmd)));
returns a long string like for instance :
[{"time":"1292254494","raw":"pushed","data":{"value":"ok"}}]
which means ok but doesn't correspond to the string "OK"JM On Dec 10, 5:29 pm, Jean-Marie <[email protected]> wrote: > Hello > > I tried the demo Controller > > the message "I'm awesome!" is displayed > > but I got the following message : > string(321) "http://ape.ape-test.local:6969/?%5B%7B%22cmd%22%3A > %22inlinepush%22%2C%22params%22%3A%7B%22password%22%3A%22testpasswd > %22%2C%22raw%22%3A%22postmsg%22%2C%22channel%22%3A%22testchannel%22%2C > %22data%22%3A%7B%22message%22%3A%22%3Cspan%20style%3D%5C%22color%3A > %20%23800%5C%22%3EI%27m%20awesome%21%3C%5C%2Fspan%3E%22%7D%7D%7D%5D" > Error sending message, server response is : > > [{"time":"1291997869","raw":"pushed","data":{"value":"ok"}}] > > what's wrong ? > > thanks for your help > > jean-Marie -- You received this message because you are subscribed to the Google Groups "APE Project" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/
