With a rather short experience in php, I have been trying to get a page that could show me who's connected to my asterisk server. Here is what I got :

The problem is ... the code is horrible ...
Anyone used php with manager ?
My main concern is how the data is returned by the manager. Any way to get a nice array ?
thanks
