Welcome Guest, Not a member yet? Register   Sign In
Http socket class
#1

[eluser]mvdg27[/eluser]
Hi guys,

I'm currently writing an application that needs to communicate with DirectAdmin. Now DirectAdmin has an API, and the suggested way to communicate with it is via HTTP sockets.

There is a class available which can be found here: http://files.directadmin.com/services/al...socket.php

The class is last updated in 2005, so my question is if you guys think it's still 'safe' to use this class? Are there security issues with this class, or is it just that there is nothing to be updated?

I've searched the forum and Wiki, but I wasn't able to find an alternative CodeIgniter HTTP socket class.

I might be able to use cUrl to address the DirectAdmin API, but are there any advantages or disadvantages to this method?

Looking forward to hear your opinions.

Cheers, Michiel
#2

[eluser]Sbioko[/eluser]
Of course it is still ok to use it. Just add to this class xss_clean functions.




Theme © iAndrew 2016 - Forum software by © MyBB