Hello,
I'm scripting my own DirectAdmin API class, because the HTTPSocket won't work on our own server.
As basic I used the HTTPSocket class, but on some reason I get a strange anwser.
My code is: http://pastebin.com/Bdvfwqdf
And my output is: http://pastebin.com/evUW7NhD
(I print the header...