Closed GoogleCodeExporter closed 9 years ago
Maybe a bit simpler:
I want to send a request via PHP (see attached file) and I want it to show on
all connected clients...
Original comment by mvugteveen
on 1 Sep 2011 at 6:41
Attachments:
Ok I think I've got it....
in the file DEMO.PHP, I added this:
// Show message to all connected users
foreach ($this->users AS $user)
{
// Echo
$this->send($user, $msg->getData());
}
Original comment by mvugteveen
on 1 Sep 2011 at 7:26
That seems right :) Sorry for the lack of proper documentation, project is
still young and its my first opensource project.
I will try to add some more examples (maybe in form of unittests) in the next
few days.
Original comment by ch...@devristo.com
on 2 Sep 2011 at 2:01
Could you please use UNIX line endings (LF)? You use Windows line-endings...
When I try to convert it to Unix the whole PHP script doesn't work anymore...
Maybe you could try it?
Thanks!
Original comment by mvugteveen
on 2 Sep 2011 at 5:04
UNIX line endings are now used in the trunk. You can do a check out, API has
changed as well since the 0.1a release.
Original comment by ch...@devristo.com
on 3 Sep 2011 at 10:21
Original issue reported on code.google.com by
mvugteveen
on 1 Sep 2011 at 6:33