API - Examples in PHP

sizemik

New member
Joined
Jun 26, 2003
Messages
3
I was wondering if anyone had an example of a connection to the Direct Admin API written in php

Just to get to the stage where commands are issued

I can't work it out
 

l0rdphi1

Verified User
Joined
Jun 22, 2003
Messages
1,471
In our custom "Billing Manager" I just make use of DA's support for GET form data. For example - we have a 'Create Account' link for our staff to easily create accounts when a customer signups. It's pretty cool.

However, it would be even cooler to actually plug-in to DA and integrate more with it.. let us know if you get anywhere :D
 

loopforever

Verified User
Joined
May 30, 2003
Messages
298
Location
/home/admin
I PHP you can simply use fopen(...) on a URL and it will execute your query. I've done this in my Ensim conversion script and it works fine :).
 

sizemik

New member
Joined
Jun 26, 2003
Messages
3
loopforever said:
I PHP you can simply use fopen(...) on a URL and it will execute your query. I've done this in my Ensim conversion script and it works fine :).
could you expand on that? What are you supposed to link to?
 

sizemik

New member
Joined
Jun 26, 2003
Messages
3
l0rdphi1 said:
In our custom "Billing Manager" I just make use of DA's support for GET form data. For example - we have a 'Create Account' link for our staff to easily create accounts when a customer signups. It's pretty cool.

However, it would be even cooler to actually plug-in to DA and integrate more with it.. let us know if you get anywhere :D
How do you do that?
 
Top