Scripting own class for API

Rido

Verified User
Joined
May 28, 2011
Messages
6
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 before I'm going to write to the socket).

The function that I used of my class is: getResellerList();

Hopefully could someone help me.

Thank you.
 
Back
Top